{"id":"CVE-2025-10994","aliases":["CVE-2025-10994","GHSA-pp85-5j63-xpq3","PYSEC-2026-2789"],"related":[],"kind":"vulnerability","state":"published","title":"Open Babel gamessformat.cpp ReadMolecule use after free","summary":"A weakness has been identified in Open Babel up to 3.1.1. This affects the function GAMESSOutputFormat::ReadMolecule of the file gamessformat.cpp. This manipulation causes use after free. It is possible to launch the attack on the local host. The exploit has been made available to the public and could be exploited.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A weakness has been identified in Open Babel up to 3.1.1. This affects the function GAMESSOutputFormat::ReadMolecule of the file gamessformat.cpp. This manipulation causes use after free. It is possible to launch the attack on the local host. The exploit has been made available to the public and could be exploited.","source":"cvelist"},{"lang":"de","text":"In Open Babel up to 3.1.1 wurde eine Schwachstelle gefunden. Hierbei geht es um die Funktion GAMESSOutputFormat::ReadMolecule der Datei gamessformat.cpp. Mit der Manipulation mit unbekannten Daten kann eine use after free-Schwachstelle ausgenutzt werden. Der Angriff ist nur lokal möglich. Die Schwachstelle wurde öffentlich offengelegt und könnte ausgenutzt werden.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA memory-safety vulnerability in Open Babel's GAMESS output parser\ncaused a use-after-free when reading a crafted input file.\n\n### Details\n\nThe flaw was in `GAMESSOutputFormat::ReadMolecule`. A malformed input\ncaused the parser to dereference a stale pointer after the underlying\nobject had been freed.\n\n### Impact\n\nOpen Babel is a C++ library and CLI used to read and write chemistry\nfile formats; it is shipped by Linux distributions and embedded in\nservices that may parse untrusted input. Triggering this vulnerability\nrequires the victim to open a malicious GAMESS output file with the\n`obabel` tool, the `OBConversion` API, or any of the language\nbindings (Python, Ruby, Java, R, Perl, C#, PHP).\n\n### Affected versions\n\nAll releases up to and including 3.1.1.\n\n### Patched version\n\n3.2.0 (released 2026-05-26).\n\n### Patch\n\nFix commit: https://github.com/openbabel/openbabel/commit/95033d27\nOriginally reported as #2834; fixes consolidated in #2913.\n\nA minimized reproducer for this CVE is checked in under\n`test/files/fuzz_regress/` and is exercised on every CI build under\nASAN+UBSAN by the `fuzzregresstest` harness.\n\n### Credit\n\nReported via OSS-Fuzz.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha identificado una debilidad en Open Babel hasta la versión 3.1.1. Esto afecta a la función GAMESSOutputFormat::ReadMolecule del archivo gamessformat.cpp. Esta manipulación causa uso después de liberar. Es posible lanzar el ataque en el host local. El exploit se ha puesto a disposición del público y podría ser explotado.","source":"nvd"}],"published":"2025-09-26T02:02:07.422Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"}],"cwes":["CWE-119","CWE-416"],"affected":[{"ranges":[{"version":"3.1.0","status":"affected"},{"version":"3.1.1","status":"affected"}],"product":"Open Babel","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.0"}],"ecosystem":"PyPI","package":"openbabel","purl":"pkg:pypi/openbabel","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.1.1"}],"vendor":"openbabel","product":"open_babel","cpe":"cpe:2.3:a:openbabel:open_babel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.0"}],"ecosystem":"PyPI","package":"openbabel","purl":"pkg:pypi/openbabel","source":"pysec"}],"references":[{"url":"https://vuldb.com/?id.325922","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?ctiid.325922","tags":["permissions-required","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?submit.654057","tags":["third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/issues/2834","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/user-attachments/files/22318611/poc.zip","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/security/advisories/GHSA-pp85-5j63-xpq3","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10994","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openbabel/openbabel/commit/95033d27d23c07f98daa92d3cd3ae5ea07594a91","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openbabel/openbabel","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/openbabel","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-pp85-5j63-xpq3","tags":["advisory"],"sources":["pysec"]}],"credits":["ahuo (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-26T19:25:50.404Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-10994","url":"https://www.cve.org/CVERecord?id=CVE-2025-10994","licence":"CVE Terms of Use","modified":"2025-09-26T19:26:09.605Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pp85-5j63-xpq3","url":"https://github.com/advisories/GHSA-pp85-5j63-xpq3","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:51.116Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-10994","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10994","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2789","url":"https://osv.dev/vulnerability/PYSEC-2026-2789","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:26.297Z"}],"updatedAt":"2026-11-25T22:59:05.202Z","epss":{"score":0.00261,"percentile":0.19075,"date":"2026-12-01T12:00:22.000Z"}}