CVE-2026-136903
published medium CVSS 4.0 · 5.8Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Open Babel | — | Open Babel0 through 3.2.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Open Babel | Open Babel | 0 through 3.2.1 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-416 Use After Free
References
4- 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
- VulnCheck Advisory: Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule https://www.vulncheck.com/advisories/open-babel-through-3.2.1-use-after-free-in-obforcefield-setup-with-empty-molecule
Provider assertions
2VulnCheck · cna
Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 58e3bb1b104e632e63146dad83a0456f9ba613f00c92eccbea55e560819724ac
- Ingested
- 25 Nov 2026, 18:20:43 UTC
- Source record
- Official CVE record