CVE-2026-3408: Open Babel NULL pointer dereference in CDXML OBAtom::GetExplicitValence

CVE-2026-3408 · Severity: medium · CVSS 5.5 · Published 2026-06-30

Open Babel, a widely used library for processing chemical data files, contains a flaw in how it handles certain file formats. An attacker could create a specially crafted chemical data file (CDXML) that, when opened by a user or processed by a service, causes the application to crash. This could lead to a denial of service, impacting the availability of research tools or automated chemistry services.

Technologies: openbabel (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-3408 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-3408 being exploited in the wild.
How severe is CVE-2026-3408?
Medium severity, with a CVSS score of 5.5, published 30 June 2026.
Which products and versions are affected?
openbabel (PyPI) < 3.2.0, ECOSYSTEM:introduced=0,fixed=3.2.0.
Is there a fix for CVE-2026-3408?
Yes. openbabel (PyPI): upgrade to 3.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-3408 attacked?
It is attacked with local access, in a software library.
Am I affected by CVE-2026-3408?
Check whether you run openbabel (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • openbabel (PyPI): upgrade to 3.2.0 or later
    pip install "openbabel>=3.2.0"

Technical details

A NULL pointer dereference exists in Open Babel's CDXML file format parser within the `OBAtom::GetExplicitValence` method. The vulnerability is triggered when the parser encounters a malformed fragment in a CDXML file, causing it to invoke the method on a NULL atom pointer. Exploitation requires a victim to open a malicious CDXML file using the `obabel` CLI tool, the `OBConversion` API, or any of its language bindings (e.g., Python, Java, C#). The issue is fixed in version 3.2.0.

Affected products

  • Open Babel openbabel <= 3.1.1

Identifiers

  • CVE-2026-3408
  • GHSA-rxpr-wq63-jr7p
  • PYSEC-2026-2791

Timeline

  • 2026-05-26: patched: Version 3.2.0 released
  • 2026-05-27: advisory: Initial GitHub Advisory published
  • 2026-06-30: disclosed: Full advisory details published/updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.