CVE-2026-19795: Qiskit SDK is vulnerable when deserializing QPY Files and may overflow the available stack space.

Published Sep 3, 2026
·
Updated

IBM Qiskit SDK 2.1.0 through 2.5.1 could allow a local attacker to cause a denial of service due to improper handling of a specially crafted object during deserialization. A malicious QPY payload can trigger a segmentation fault, causing the application to crash when deserializing untrusted input.

Other sources

Qiskit could allow a local attacker to cause a denial of service due to improper handling of a specially crafted object during deserialization. A malicious QPY payload can trigger a segmentation fault, causing the application to crash when deserializing untrusted input.

IBM

Affected Software

2 affected components
IBM Qiskit SDK>=2.1.0<=2.5.1
IBM Qiskit SDK<=2.1.0 - 2.5.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Qiskit SDK (qiskit.qpy.load) to a version that resolves this vulnerability.

    Fixed in 2.5.2
  2. Compensating control

    Avoid deserializing untrusted QPY files with qiskit.qpy.load() (only process QPY from trusted sources) to prevent a local attacker from triggering a crash/DoS via a specially crafted object.

Event History

Sep 3, 2026
CVE Published
via IBM·12:00 AM
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·07:56 PM
Data Sourced
via MITRE·07:56 PM
RemedyDescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using IBM Qiskit SDK versions 2.1.0 through 2.5.1 are exposed if they deserialize QPY files from untrusted sources.

2

What does an attacker need to exploit it?

An attacker needs the ability to provide a specially crafted QPY payload that the affected application will deserialize. The described attack is local and does not require privileges or user interaction.

3

What is the impact of successful exploitation?

Deserializing the malicious QPY payload can trigger a segmentation fault and crash the application, resulting in denial of service. No confidentiality or integrity impact is described.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203