HIGH 7.5

CVE-2026-4870: IBM Qiskit SDK Parser Denial-of-Service Vulnerability

IBM Qiskit SDK versions 0.43.0 through 2.5.0 contain a parser vulnerability that allows remote attackers to cause the application to crash by triggering excessive recursion. An attacker can send specially crafted input that forces the parser into a recursive loop, ultimately causing a segmentation fault and denying service to legitimate users. No authentication is required, and the attack can be launched over the network.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-674
Affected products
1 configuration(s)
Published / Modified
2026-06-12 / 2026-06-17

NVD description (verbatim)

IBM Qiskit SDK 0.43.0 through 2.5.0 could allow an attacker to trigger a segmentation fault leading to a denial of service due to uncontrolled recursion in the parser.

1 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-4870 is a stack exhaustion vulnerability (CWE-674: Uncontrolled Recursion) in the IBM Qiskit SDK parser. The vulnerability exists in versions 0.43.0 through 2.5.0 and stems from insufficient recursion depth checks in the parser logic. When processing malformed or adversarially constructed input, the parser enters a recursive descent that exhausts the call stack, resulting in a segmentation fault. The vulnerability is remotely exploitable without requiring prior authentication or user interaction. The attack surface is present wherever the SDK's parser processes untrusted input.

Business impact

Organizations using the affected Qiskit SDK versions in production environments face availability risk. Quantum computing research teams, enterprises building quantum applications, and cloud services offering Qiskit-based tools could experience service interruptions if an attacker crafts and sends malicious input. This is particularly concerning for continuous research workflows or API services that automatically process user-supplied quantum circuits or configuration data. While confidentiality and integrity are unaffected, denial of service can disrupt research timelines, break dependent workflows, and damage service reputation.

Affected systems

IBM Qiskit Software Development Kit (SDK) versions 0.43.0 through 2.5.0 are vulnerable. This includes development environments, production deployments, cloud-hosted quantum computing services, and research platforms that bundle the affected SDK versions. Any system directly invoking the vulnerable parser with untrusted input is at risk. Downstream applications or services that depend on Qiskit are impacted only if they also include and expose the vulnerable SDK versions.

Exploitability

Exploitability is straightforward. The vulnerability requires only network access and no authentication, privilege escalation, or user interaction. An attacker with knowledge of the parser's input format can construct a payload that triggers deep recursion and craft a remote request (HTTP, API call, or direct connection) to deliver it. The low attack complexity and network accessibility result in a CVSS score of 7.5 (HIGH). However, practical exploitation depends on whether the vulnerable parser is exposed as part of an Internet-facing service or API.

Remediation

Organizations must upgrade to a patched version of the IBM Qiskit SDK. Verify against the official IBM Qiskit advisory for the specific version that resolves CVE-2026-4870; upgrades beyond 2.5.0 are expected to include a fix. If immediate patching is not possible, restrict network access to services running the SDK and validate or sanitize input before passing it to the parser. Consider implementing parser timeouts or recursion depth limits at the application level as a temporary mitigation.

Patch guidance

Update the IBM Qiskit SDK to a version newer than 2.5.0 that includes the security fix. Coordinate upgrades with development and operations teams to ensure compatibility with dependent code and quantum workflows. Test patched versions in a non-production environment first, particularly if custom quantum circuits or configurations are processed. Consult the official IBM Qiskit release notes and security advisories for patch availability and any breaking changes.

Detection guidance

Monitor for abnormal parser behavior or unexpected segmentation faults in Qiskit-based services. Implement input validation to reject or sanitize payloads that exhibit unusual nesting depth, recursion patterns, or malformed structure. Log and alert on crash events in Qiskit processes. If available, enable parser debugging or verbose logging to capture the characteristics of inputs that trigger crashes. Review network traffic for requests that deviate from normal quantum circuit submission patterns, especially those containing deeply nested or recursive structures.

Why prioritize this

This vulnerability should be prioritized if your organization runs Qiskit SDK in production, especially in user-facing or cloud-hosted services. The remote, unauthenticated exploitability and HIGH severity score necessitate timely patching. However, prioritization should be tempered by your specific deployment model: internal research environments with restricted network access face lower immediate risk than public APIs. Organizations with legacy Qiskit deployments in unsupported versions or without active maintenance should prioritize upgrade planning. This is not yet on the KEV (Known Exploited Vulnerabilities) list, so you have a window to patch before widespread exploitation.

Risk score, explained

The CVSS 3.1 score of 7.5 (HIGH) reflects a remotely exploitable denial-of-service condition with no authentication barrier. The attack vector (AV:N), low attack complexity (AC:L), and lack of privilege or user interaction requirements maximize accessibility. However, the impact is confined to availability (A:H); confidentiality and integrity are not compromised. The score does not account for deployed context: if your Qiskit service is not publicly exposed or processes only trusted input, actual risk is lower. Conversely, if Qiskit is part of a critical or high-availability service, organizational risk may exceed the base score.

Frequently asked questions

Do we need to patch immediately if we only use Qiskit for internal, offline research with no network exposure?

Internal-only deployments with restricted network access face lower risk. However, you should still schedule a patch within your next maintenance window to remain secure against insider threats or future network access changes. If your environment ever receives untrusted input (e.g., user-submitted quantum circuits), patching becomes more urgent.

What versions of Qiskit SDK are safe?

Verify against the official IBM Qiskit security advisory for the exact patched version. Versions below 0.43.0 and any version newer than 2.5.0 that includes the fix are expected to be safe. Do not assume that the latest version is patched without confirmation from IBM's release notes.

Can we mitigate this without patching?

Partial mitigation is possible: restrict network access to Qiskit services, implement input validation to reject deeply nested or suspicious structures, set parser timeouts, and monitor for crash events. However, these are temporary measures. A proper fix requires upgrading to a patched version. No application-level workaround eliminates the underlying vulnerability.

Is this vulnerability being actively exploited?

As of the current date, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog. However, the remote, unauthenticated nature of the attack means exploitation could begin at any time. Do not rely on lack of current exploitation as reason to delay patching.

This analysis is provided for informational purposes and reflects the vulnerability details available as of the publication date. Actual risk and exploitability depend on your specific deployment, network configuration, and use of affected SDK versions. Verify all patch guidance and version information directly against official IBM Qiskit security advisories and release notes before implementation. SEC.co makes no warranties regarding the completeness or accuracy of this assessment and recommends consultation with your security and engineering teams for deployment-specific decisions. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).