{"id":"CVE-2026-2705","published":"2026-02-19T05:02:07Z","modified":"2026-03-03T17:20:24Z","title":"Open Babel MOL2 File atom.h SetFormalCharge out-of-bounds","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability was detected in Open Babel up to 3.1.1. The impacted element is the function OBAtom::SetFormalCharge in the library include/openbabel/atom.h of the component MOL2 File Handler. The manipulation results in out-of-bounds read. It is possible to launch the attack remotely. The exploit is now public and may be used. The patch is identified as e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a. A patch should be applied to remediate this issue. The project was informed of the problem early through an issue report but has not responded yet.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00826,"percentile":0.58318,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://vuldb.com/?id.346651","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.346651","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.754379","tags":["third-party-advisory"]},{"url":"https://github.com/openbabel/openbabel/issues/2848","tags":["issue-tracking"]},{"url":"https://github.com/openbabel/openbabel/pull/2862","tags":["issue-tracking","patch"]},{"url":"https://github.com/oneafter/0128/blob/main/ob2/repro.mol2","tags":["exploit"]},{"url":"https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a","tags":["patch"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":11.66},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.01}]},"affectedVersions":[{"vendor":"n/a","product":"Open Babel","versions":["3.1.0","3.1.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-23T18:45:13.326320Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"openbabel","vulnerableRanges":["<3.2.0"],"patched":["3.2.0"],"from":["GHSA-4w5w-4fhm-q483","PYSEC-2026-2770"],"provenance":"source"}],"summary":{"text":"A vulnerability in the OBAtom::SetFormalCharge function in include/openbabel/atom.h, part of the MOL2 File Handler component of Open Babel up to version 3.1.1, causes an out-of-bounds read. An attacker can trigger it remotely by getting a crafted MOL2 file processed, which requires user interaction to open or load the file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:03Z"},"euvd":{"id":"EUVD-2026-7561","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/oneafter/0128/blob/main/ob2/repro.mol2"]}