CVE-2026-136903 Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule

Published Updated

A crafted molecule file with an empty molecule triggers a use-after-free in Open Babel, crashing or corrupting results.

CVSS score

Medium

5.8/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-136903?

CVE-2026-136903 is a medium-severity use after free vulnerability in Open Babel, published on 25 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Open Babel through 3.2.1 contains a use-after-free vulnerability in OBForceField::Setup() that leaves stored constraints bound to freed atoms when set up with an empty molecule. Attackers can supply a molecule file yielding an empty molecule so later SteepestDescent() or ConjugateGradients() calls read freed memory, causing crashes or incorrect results.

Weakness: CWE-416

How severe is CVE-2026-136903?

CVE-2026-136903 scores 5.8 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
Low
Integrity
None
Availability
High

CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-136903?

1 open source package ship an affected version, including openbabel/openbabel.

An affected version is only exploitable if your software calls OBForceField::Setup(), SteepestDescent() or ConjugateGradients(). Many projects that include it are not exposed.

PackageAffectedFixed in
openbabel/openbabel GitHub
pkg:github/openbabel/openbabel
All versions to 3.2.1None

How do I fix CVE-2026-136903?

No fix has been published for CVE-2026-136903 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-136903 being exploited?

There is no known exploitation of CVE-2026-136903 in the wild and no public exploit code.

Sources

Also known as GHSA-cwvv-mr6r-v2j5, UBUNTU-CVE-2026-136903.

Is CVE-2026-136903 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free