IBM Qiskit SDK
Qiskit SDK C API may trigger an out of bounds write on accessing the unitary matrix with qk_circuit_inst_unitary().
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.4.0, <= 2.6.1
Mitigation
Remediation/Fixes guidance: The issue is addressed in Qiskit versions v2.6.2. This version is patched to detect this situation and write out a sentinel value to identify the instruction is in an inconsistent state. Product(s)Version(s) number and/or range Remediation/Fix/Instructions< Qiskit SDK https://github.com/qiskit/qiskit - qk_circuit_inst_unitary() function>v2.6.2 Upgrade to the patched versions: qiskit v2.6.2.
Workaround
Workarounds/Mitigation guidance: None
References
- Vendor advisory ibm.com/support/pages/node/7295237
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.