CVE-2026-136903
MEDIUM
NVD
CVSS Score
5.3
Severity
MEDIUM
Published
Nov 25, 2026
Vendor
unknown
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.
References
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L507-L524
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L911-L970
- https://github.com/openbabel/openbabel/pull/3049
- https://www.vulncheck.com/advisories/open-babel-through-3.2.1-use-after-free-in-obforcefield-setup-with-empty-molecule