GHSA-cwvv-mr6r-v2j5MediumCVSS 5.3
Open Babel through 3.2.1 contains a use-after-free vulnerability in OBForceField::Setup() that...
🔗 CVE IDs covered (1)
📋 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 (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-136903
- https://github.com/openbabel/openbabel/pull/3049
- 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://www.vulncheck.com/advisories/open-babel-through-3.2.1-use-after-free-in-obforcefield-setup-with-empty-molecule
- https://github.com/advisories/GHSA-cwvv-mr6r-v2j5