{"id":"CVE-2025-10997","aliases":["CVE-2025-10997","GHSA-8wq6-qh76-wpv9","PYSEC-2026-2778"],"related":[],"kind":"vulnerability","state":"published","title":"Open Babel chemkinformat.cpp CheckSpecies heap-based overflow","summary":"A flaw has been found in Open Babel up to 3.1.1. Impacted is the function ChemKinFormat::CheckSpecies of the file /src/formats/chemkinformat.cpp. Executing manipulation can lead to heap-based buffer overflow. The attack can only be executed locally. The exploit has been published and may be used.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw has been found in Open Babel up to 3.1.1. Impacted is the function ChemKinFormat::CheckSpecies of the file /src/formats/chemkinformat.cpp. Executing manipulation can lead to heap-based buffer overflow. The attack can only be executed locally. The exploit has been published and may be used.","source":"cvelist"},{"lang":"de","text":"Es wurde eine Schwachstelle in Open Babel up to 3.1.1 entdeckt. Betroffen davon ist die Funktion ChemKinFormat::CheckSpecies der Datei /src/formats/chemkinformat.cpp. Mittels dem Manipulieren mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff muss lokal durchgeführt werden. Der Exploit steht zur öffentlichen Verfügung.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA memory-safety vulnerability in Open Babel's ChemKin parser caused\na heap buffer overflow when reading a crafted input file.\n\n### Details\n\nThe flaw was in `ChemKinFormat::CheckSpecies`. A malformed species\nrecord caused the parser to write past the end of a heap-allocated\nbuffer.\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 ChemKin 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/af4a4212\nOriginally reported as #2830; 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 encontrado una vulnerabilidad en Open Babel hasta la versión 3.1.1. La función afectada es ChemKinFormat::CheckSpecies del archivo /src/formats/chemkinformat.cpp. La ejecución de manipulación puede llevar a un desbordamiento de búfer basado en montículo. El ataque solo puede ejecutarse localmente. El exploit ha sido publicado y puede ser utilizado.","source":"nvd"}],"published":"2025-09-26T02:32:09.748Z","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":"HIGH"},{"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"}],"cwes":["CWE-119","CWE-122"],"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.325925","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?ctiid.325925","tags":["permissions-required","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/?submit.654062","tags":["third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/issues/2830","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/user-attachments/files/22318543/poc.zip","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/security/advisories/GHSA-8wq6-qh76-wpv9","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10997","tags":["advisory"],"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-8wq6-qh76-wpv9","tags":["advisory"],"sources":["pysec"]}],"credits":["ahuo (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-26T19:28:11.502Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-10997","url":"https://www.cve.org/CVERecord?id=CVE-2025-10997","licence":"CVE Terms of Use","modified":"2025-09-26T19:28:43.143Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8wq6-qh76-wpv9","url":"https://github.com/advisories/GHSA-8wq6-qh76-wpv9","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:38.658Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-10997","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-10997","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2778","url":"https://osv.dev/vulnerability/PYSEC-2026-2778","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:41.543Z"}],"updatedAt":"2026-11-25T22:59:05.205Z","epss":{"score":0.00298,"percentile":0.24174,"date":"2026-12-01T12:00:22.000Z"}}