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.
Workarounds/Mitigation guidance:
None
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.