Skip to main content

Open Babel CVE-2026-136903

| EUVDEUVD-2026-135442 MEDIUM
Use After Free (CWE-416)
2026-11-25 VulnCheck GHSA-cwvv-mr6r-v2j5
5.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted molecule file
  2. Delivery
    Victim pipeline parses to empty molecule
  3. Exploit
    Setup leaves constraints on freed atoms
  4. Execution
    SteepestDescent/ConjugateGradients reads freed memory
  5. Impact
    Process 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Open Babel 0 ≤3.2.1

Affected Packages

euvd open_babel no fix

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

Vendor (VulnCheck) PRIMARY 5.8 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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).

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 89% exploitable
Prevalence
Low
niche computational-chemistry toolkit, no broad enterprise footprint
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

29
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-3408 LOW POC
2.1 Mar 02

Open Babel versions up to 3.1.1 contain a null pointer dereference in the CDXML file handler's OBAtom::GetExplicitValenc

CVE-2026-2704 LOW POC
2.1 Feb 19

Out-of-bounds read in Open Babel's CIF file handler (versions up to 3.1.1) allows remote denial of service when processi

CVE-2026-2705 LOW POC
2.1 Feb 19

Out-of-bounds memory reads in Open Babel's MOL2 file handler (via OBAtom::SetFormalCharge function) allow remote attacke

CVE-2025-10995 LOW POC
1.9 Sep 26

A security vulnerability has been detected in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerabili

CVE-2025-10999 LOW POC
1.9 Sep 26

A vulnerability was found in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low attack

CVE-2025-10998 LOW POC
1.9 Sep 26

A vulnerability has been found in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low at

CVE-2025-10997 LOW POC
1.9 Sep 26

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

CVE-2025-10996 LOW POC
1.9 Sep 26

A vulnerability was detected in Open Babel up to 3.1.1.cpp. Rated medium severity (CVSS 4.8), this vulnerability is low

CVE-2025-10994 LOW POC
1.9 Sep 26

A weakness has been identified in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low at

CVE-2025-11000 LOW POC
1.9 Sep 26

A vulnerability was determined in Open Babel up to 3.1.1. Rated medium severity (CVSS 4.8), this vulnerability is low at

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy