CVE-2025-1403
Python vulnerability analysis and mitigation

Overview

Qiskit SDK versions 0.45.0 through 1.2.4 contains a vulnerability that allows remote attackers to cause a denial of service condition. The vulnerability (CVE-2025-1403) was disclosed on February 21, 2025, and affects the QPY file handling functionality within the software. The issue specifically involves malformed symengine serialization streams that can trigger a segmentation fault (IBM Security).

Technical details

The vulnerability stems from improper handling of maliciously crafted QPY files containing malformed symengine serialization streams as part of the larger QPY serialization of a ParameterExpression object. When such files are processed, they can cause a segmentation fault within the symengine library, resulting in process termination. The vulnerability has been assigned a CVSS Base score of 8.6 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H, indicating its severity. The issue has been classified as CWE-502: Deserialization of Untrusted Data (IBM Security).

Impact

Successful exploitation of this vulnerability allows remote attackers to terminate the hosting process through a denial of service attack. The attack requires no user interaction or special privileges, making it particularly concerning for systems processing QPY files from untrusted sources (IBM Security).

Mitigation and workarounds

The vulnerability has been addressed in Qiskit 1.3.0 when using QPY format version 13. For systems unable to upgrade, IBM recommends patching the locally installed version of symengine to prevent the segfault by applying a specific commit (eb3e292bf13b2dfdf0fa1c132944af8df2bc7d51) on top of symengine 0.13.0. Additionally, users can implement detection mechanisms to check if QPY payloads are potentially vulnerable before processing them (IBM Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management