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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Open Babel | Open Babel | <= 3.2.1 |
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
Timeline
- Published
- Nov 25, 2026
- Last modified
- Nov 25, 2026
- NVD status
- Received