CVE-2026-136903
CVE-2026-136903 · Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule
CVSS 5.8 · Medium · EPSS 0.3%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- open babelNo fix published
- openbabel Ubuntu 16.04 LTSNo fix published
- openbabel Ubuntu 18.04 LTSNo fix published
- openbabel Ubuntu 20.04 LTSNo fix published
- and 4 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="openbabel"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
open babel
- Versions
- ≥ 0, ≤ 3.2.1: Affected (custom)
No fix published
openbabel Ubuntu 16.04 LTS
- Versions
- 2.3.2+dfsg-2.2
- 2.3.2+dfsg-2.2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openbabel Ubuntu 18.04 LTS
- Versions
- 2.3.2+dfsg-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openbabel Ubuntu 20.04 LTS
- Versions
- 2.4.1+dfsg-3
- 2.4.1+dfsg-3build1
- 2.4.1+dfsg-5.1
- 2.4.1+dfsg-6
- 3.0.0+dfsg-3
- 3.0.0+dfsg-3ubuntu3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openbabel Ubuntu 22.04 LTS
- Versions
- 3.1.1+dfsg-6ubuntu1
- 3.1.1+dfsg-6ubuntu5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openbabel Ubuntu 24.04 LTS
- Versions
- 3.1.1+dfsg-9build2
- 3.1.1+dfsg-9ubuntu1
- 3.1.1+dfsg-9ubuntu2
- 3.1.1+dfsg-9ubuntu4
- 3.1.1+dfsg-9ubuntu5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openbabel Ubuntu 26.10
- Versions
- 3.1.1+dfsg-11ubuntu5
- 3.1.1+dfsg-14ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
openbabel Ubuntu 26.04 LTS
- Versions
- 3.1.1+dfsg-11ubuntu4
- 3.1.1+dfsg-11ubuntu5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://github.com/openbabel/openbabel/pull/3049
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L911-L970
- https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L507-L524
- https://www.vulncheck.com/advisories/open-babel-through-3.2.1-use-after-free-in-obforcefield-setup-with-empty-molecule
- https://nvd.nist.gov/vuln/detail/CVE-2026-136903