Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted molecule file
-
DeliveryVictim pipeline parses to empty molecule
-
ExploitSetup leaves constraints on freed atoms
-
ExecutionSteepestDescent/ConjugateGradients reads freed memory
-
ImpactProcess crash or corrupted results
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an attacker-controlled molecule input file that parses into an empty molecule (zero atoms), AND the consuming application must subsequently invoke force-field geometry optimization - specifically OBForceField::Setup() followed by SteepestDescent() or ConjugateGradients(). Limiting factors are significant: the vector is local (AV:L), so the attacker must get a file into the victim's processing path; it requires passive user interaction (UI:P) in that the victim must process the malicious file; and it carries an attack requirement (AT:P) plus high complexity (AC:H) because the input must specifically yield an empty molecule and the code path must reach the optimizer. No authentication/privileges are needed (PR:N). Realistic impact is a crash or incorrect optimization results, not code execution; applications that never run force-field optimization on untrusted input are not affected. |
| Impact | This is a genuinely medium-to-low priority issue, and the signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H) describes a local, high-complexity flaw with an attack requirement and required passive user interaction - the attacker does not gain code execution or meaningful data disclosure, only a crash/denial of service (VA:H) plus a limited freed-memory read (VC:L). It is NOT in CISA KEV (no confirmed active exploitation) and no EPSS score was provided, so there is no probabilistic exploitation signal to weigh. No public exploit was identified at time of analysis; the patch (PR #3049) ships a regression test that demonstrates the fault, but a regression test is not weaponized exploit code. The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', which aligns with the picture: a real correctness/stability bug in a library that processes untrusted molecule files, worth patching on a normal maintenance cadence rather than as an incident. The one thing to verify is impact classification - the description mentions 'incorrect results', which can read as an integrity concern, yet the provided vector sets VI:N/I:N and treats the primary impact as availability; this is a reasonable reading of a use-after-free but worth confirming against the VulnCheck advisory. |
| Exploit ScenarioDerived | An attacker crafts a molecule file (e.g. an XYZ/SDF input) that parses into a molecule with zero atoms and gets it processed by an application or pipeline that uses Open Babel's force-field optimization. When OBForceField::Setup() runs on the empty molecule and the code later calls SteepestDescent() or ConjugateGradients(), the stored constraints still reference freed atoms, so the optimizer reads freed memory and the process crashes or emits corrupted output. No public working exploit was identified; triggering it requires the victim's workflow to both accept the attacker's file and invoke geometry optimization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Open Babel through 3.2.1 can read freed memory when a force-field object that was already set up for one molecule is re-used on a subsequently supplied molecule file that parses to zero atoms; the empty-molecule setup path returns early without discarding the previous molecule's stored constraints and cut-off pair lists, so later SteepestDescent() or ConjugateGradients() calls touch memory that has already been released. The realistic outcome is a crash or silently incorrect optimization results for applications that accept untrusted molecule files and then run force-field geometry optimization, not code execution, and the assessed vector is local (AV:L), high complexity (AC:H), with an attack requirement and passive user interaction, scored 5.8 under CVSS 4.0 and assessed as CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H. No public exploit code or active exploitation has been identified at time of analysis; the issue is rated this_month in the vuln.today priority scheme, and an upstream fix exists in pull request #3049, with a vendor patch reported available.
RemediationAI
Apply the upstream fix in PR https://github.com/openbabel/openbabel/pull/3049, which clears _vdwpairs/_elepairs at the start of Setup(), rejects zero-atom molecules with _validSetup = false and a false return, and clears the MMFF94 calculation vectors before rebuilding; the vendor patch is reported available, but a tagged released version containing it is not independently confirmed, so verify the fix against the 3.2.1 tag or build from the patched branch. For deployments that cannot update immediately, reject or ignore input files that parse to zero atoms before invoking OBForceField::Setup(), check the boolean return of Setup() and treat false as a hard failure rather than continuing to SteepestDescent() or ConjugateGradients() (trade-off: pipelines that legitimately pass empty structures need explicit handling to avoid new errors), and create a fresh OBForceField instance per molecule via MakeNewInstance() instead of reusing one across inputs so no state can outlive its molecule (trade-off: measurable per-molecule setup overhead in batch workloads). Not running force-field geometry optimization on untrusted molecule input removes the trigger entirely, at the cost of losing that capability for untrusted sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Open Babel is a C++ cheminformatics toolkit whose OBForceField abstraction (src/forcefield.cpp) performs molecular mechanics setup for implementations such as MMFF94. Setup() binds the force-field instance to an OBMol, builds per-molecule state such as the van der Waals and electrostatic cut-off pair lists (_vdwpairs, _elepairs), and MMFF94 additionally caches per-interaction calculation objects (_bondcalculations, _anglecalculations, _torsioncalculations, _oopcalculations, _vdwcalculations and so on). The flaw is CWE-416 (use-after-free): when Setup() is invoked on an instance that already holds state for a previous molecule and the new input yields an empty molecule, the routine bails out without clearing or rebuilding that state, leaving constraints and pair lists that reference atoms belonging to the older, freed molecule. The upstream patch in PR #3049 addresses the root cause by clearing the cut-off pair lists at entry to Setup(), explicitly treating a zero-atom molecule as an invalid setup (_validSetup = false; return false) in both Setup() overloads, and by clearing all MMFF94 per-interaction calculation vectors before rebuilding so a failed setup cannot leave the previous molecule's calculations behind. The accompanying regression test (case 254, test_ForceFieldSetupNewMolecule) verifies that an empty molecule is rejected, that no calculation from a prior molecule survives a failed setup, and that cut-off pair counts return to zero after re-setup on a different molecule. Trigger mechanics beyond the empty-molecule precondition and the subsequent optimizer call are as described in the advisory and diff; no further detail on memory layout or exploitation primitives is provided by the available sources.
Know when Open Babel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local file-parsing vector (AV:L) needing a specific empty-molecule input and a follow-on optimizer call (AC:H) with victim processing the file (UI:R); no privileges (PR:N); DoS impact (A:H) plus limited freed-memory read (C:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Open Babel
View allOpen Babel versions up to 3.1.1 contain a null pointer dereference in the CDXML file handler's OBAtom::GetExplicitValenc
Out-of-bounds read in Open Babel's CIF file handler (versions up to 3.1.1) allows remote denial of service when processi
Out-of-bounds memory reads in Open Babel's MOL2 file handler (via OBAtom::SetFormalCharge function) allow remote attacke
A security vulnerability has been detected in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerabili
A vulnerability was found in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low attack
A vulnerability has been found in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low at
A flaw has been found in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low attack comp
A vulnerability was detected in Open Babel up to 3.1.1.cpp. Rated medium severity (CVSS 4.8), this vulnerability is low
A weakness has been identified in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low at
A vulnerability was determined in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low at
EUVD-2026-135442
GHSA-cwvv-mr6r-v2j5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB