CVE-2026-136903: Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule
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.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to trigger the issue?
An attacker must be able to supply a molecule file that results in an empty molecule, and the affected application must subsequently invoke SteepestDescent() or ConjugateGradients() after OBForceField::Setup(). The CVSS vector also indicates local access, high attack complexity, and required user interaction.
What is the expected impact if exploitation succeeds?
Later force-field optimization calls can read freed memory through constraints that remain bound to freed atoms. This can cause crashes or incorrect results; the provided severity vector indicates limited confidentiality impact and high availability impact, with no integrity impact.
Which versions are identified as affected?
The issue is reported in Open Babel through version 3.2.1. No fixed version is identified in the provided information.