CVE-2025-10997
JSON

4.8medium

Open Babel chemkinformat.cpp CheckSpecies heap-based overflow

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB
Also known as
GHSA-8wq6-qh76-wpv9PYSEC-2026-2778

Description

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.

Affected

Product or packageVersionsReported by
Open Babel3.1.0, 3.1.1CVE List
openbabel (PyPI)before 3.2.0GitHub Advisory Database, PyPA Advisory Database
openbabel open_babelup to 3.1.1NVD

All scores

VulDB4.8medium CVSS:4.0CVSS: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
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB4.3medium CVSS:2.0AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR
GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-119CWE-122

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

CVE List (de)

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.

GitHub Advisory Database
Summary

A memory-safety vulnerability in Open Babel's ChemKin parser caused a heap buffer overflow when reading a crafted input file.

Details

The flaw was in ChemKinFormat::CheckSpecies. A malformed species record caused the parser to write past the end of a heap-allocated buffer.

Impact

Open Babel is a C++ library and CLI used to read and write chemistry file formats; it is shipped by Linux distributions and embedded in services that may parse untrusted input. Triggering this vulnerability requires the victim to open a malicious ChemKin file with the obabel tool, the OBConversion API, or any of the language bindings (Python, Ruby, Java, R, Perl, C#, PHP).

Affected versions

All releases up to and including 3.1.1.

Patched version

3.2.0 (released 2026-05-26).

Patch

Fix commit: https://github.com/openbabel/openbabel/commit/af4a4212 Originally reported as #2830; fixes consolidated in #2913.

A minimized reproducer for this CVE is checked in under test/files/fuzz_regress/ and is exercised on every CI build under ASAN+UBSAN by the fuzzregresstest harness.

Credit

Reported via OSS-Fuzz.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-10997 changed 2025-09-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-8wq6-qh76-wpv9 changed 2026-07-13CC-BY-4.0
NVDCVE-2025-10997 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2026-2778 changed 2026-07-13CC-BY-4.0