# CVE-2026-116501: IBM Qiskit SDK out-of-bounds write in unitary matrix handler

Source: https://junglewise.ai/threats/cve-2026-116501-ibm-qiskit-sdk-2-4-0-through-2-6-1-could-allow-a-local-attacker  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-08. Updated: 2026-11-08  
License: CC BY 4.0 with a link back

CVE-2026-116501 · Severity: high · CVSS 8.4 · Published 2026-11-08

IBM Qiskit SDK is a quantum computing software toolkit used by researchers and developers to design quantum circuits. Versions 2.4.0 through 2.6.1 contain a buffer overflow vulnerability in the unitary matrix function that could allow a local attacker to execute arbitrary code if they load a malicious or corrupted circuit file. This puts research environments and systems running vulnerable Qiskit versions at risk of compromise.

Technologies: [IBM Qiskit SDK](https://junglewise.ai/threats/technologies/qiskit-sdk). Vendors: [IBM](https://junglewise.ai/threats/vendors/ibm).

## Quick answers

**Is CVE-2026-116501 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-116501 being exploited in the wild.

**How severe is CVE-2026-116501?** High severity, with a CVSS score of 8.4, published 8 November 2026.

**Which products and versions are affected?** IBM Qiskit SDK 2.4.0 through 2.6.1.

**Is there a fix for CVE-2026-116501?** Yes: fixed in Qiskit SDK v2.6.2. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-116501 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-116501?** Check whether you run IBM Qiskit SDK at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in Qiskit SDK v2.6.2

## Technical details

An out-of-bounds write (CWE-787) exists in the qk_circuit_inst_unitary() C API function when processing a corrupted or maliciously constructed QPY file that leaves a circuit in an inconsistent state. The vulnerability stems from improper input validation that fails to detect when the unitary matrix is malformed, causing the function to write beyond allocated buffer boundaries. A local attacker can exploit this to achieve arbitrary code execution without requiring authentication or user interaction.

## Affected products

- IBM Qiskit SDK 2.4.0 through 2.6.1

## Timeline

- 2026-11-05: disclosed

## References

- [https://www.ibm.com/support/pages/node/7295237](https://www.ibm.com/support/pages/node/7295237)

## Related threats

- [IBM Qiskit SDK unbound recursion in QPY deserialization](https://junglewise.ai/threats/cve-2026-116500-ibm-qiskit-sdk-2-4-0-through-2-6-1-could-allow-a-local-attacker)
- [IBM Qiskit SDK unsafe deserialization in QPY format](https://junglewise.ai/threats/cve-2026-116499-ibm-qiskit-sdk-1-4-2-through-2-6-2-could-allow-a-local-attacker)
- [Qiskit SDK stack overflow in QPY deserialization](https://junglewise.ai/threats/cve-2026-19795-qiskit-sdk-stack-overflow-in-qpy-deserialization)
- [IBM Qiskit SDK denial of service via uncontrolled recursion in parser](https://junglewise.ai/threats/cve-2026-4870-ibm-qiskit-sdk-denial-of-service-via-uncontrolled-recursion-in)
