Use-After-Free Vulnerability in Open Babel by Open Babel
CVE-2026-136903
5.8MEDIUM
What is CVE-2026-136903?
Open Babel versions up to 3.2.1 are susceptible to a use-after-free vulnerability in the OBForceField::Setup() function. This flaw occurs when stored constraints remain linked to freed atoms after a setup involving an empty molecule. An attacker can exploit this by supplying a carefully crafted molecule file that leads to an empty molecule, resulting in subsequent calls to methods like SteepestDescent() or ConjugateGradients() accessing freed memory. This can lead to application crashes or yield incorrect computational results, posing significant risks to data reliability and application stability.
Affected Version(s)
Open Babel 0 <= 3.2.1
