Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136903: medium-severity vulnerability (CVSS 5.8) in Open Babel Open Babel.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.8.
Affected products and versions
Open Babel Open Babel <= 3.2.1
| Product | Versions | Fixed in |
|---|---|---|
| Open Babel Open Babel | <= 3.2.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/openbabel/openbabel/pull/3049 — CVE Program
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L911-L970 — CVE Program
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L507-L524 — CVE Program
- https://www.vulncheck.com/advisories/open-babel-through-3.2.1-use-after-free-in-obforcefield-setup-with-empty-molecule — CVE Program
Weaknesses (CWE): CWE-416
Relevant change history
Published
Preliminary advisory published.