{"id":"CVE-2026-136903","summary":"Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule","details":"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.","modified":"2026-11-25T16:00:11.939688647Z","published":"2026-11-25T14:51:47.345Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136903.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136903.json"},{"type":"PACKAGE","url":"https://github.com/openbabel/openbabel"},{"type":"ARTICLE","url":"https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L507-L524"},{"type":"ARTICLE","url":"https://github.com/openbabel/openbabel/blob/openbabel-3-2-1/src/forcefield.cpp#L911-L970"},{"type":"FIX","url":"https://github.com/openbabel/openbabel/pull/3049"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136903"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/open-babel-through-3.2.1-use-after-free-in-obforcefield-setup-with-empty-molecule"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openbabel/openbabel","events":[{"introduced":"0"},{"last_affected":"0e94434fa75c9f61095023e3c12e0d5f2ac035ff"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"3.2.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["openbabel-3-2-1","openbabel-3-2-0","openbabel-3-1-0","openbabel-3-1-1","openbabel-3-0-0","openbabel-3-0-0a2","openbabel-3-0-0a1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136903.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}