CVE-2026-136903
Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule
Medium · 5.8
- CVSS
- 5.8
- EPSS
- 0.26% (p11)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- Open Babel Open Babel
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
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.
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/openbabel/openbabel/pull/3049 issue-tracking
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L911-L970 technical-description
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L507-L524 technical-description
- https://www.vulncheck.com/advisories/open-babel-through-3.2.1-use-after-free-in-obforcefield-setup-with-empty-molecule third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136903.json advisory
- https://github.com/openbabel/openbabel package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136903 advisory