CVE-2025-10998
JSON

4.8medium

Open Babel chemkinformat.cpp ReadReactionQualifierLines null pointer dereference

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulDB
Also known as
GHSA-j9pp-7wfg-q7fjPYSEC-2026-2782

Description

A vulnerability has been found in Open Babel up to 3.1.1. The affected element is the function ChemKinFormat::ReadReactionQualifierLines of the file /src/formats/chemkinformat.cpp. The manipulation leads to null pointer dereference. The attack can only be performed from a local environment. The exploit has been disclosed to the public 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:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
VulDB3.3low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
VulDB3.3low CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
VulDB1.7low CVSS:2.0AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR
GitHub5.5low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
GitHublow CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Classification

CWE-404CWE-476

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

What each source says

CVE List

A vulnerability has been found in Open Babel up to 3.1.1. The affected element is the function ChemKinFormat::ReadReactionQualifierLines of the file /src/formats/chemkinformat.cpp. The manipulation leads to null pointer dereference. The attack can only be performed from a local environment. The exploit has been disclosed to the public and may be used.

CVE List (de)

In Open Babel up to 3.1.1 wurde eine Schwachstelle gefunden. Es betrifft die Funktion ChemKinFormat::ReadReactionQualifierLines der Datei /src/formats/chemkinformat.cpp. Mittels Manipulieren mit unbekannten Daten kann eine null pointer dereference-Schwachstelle ausgenutzt werden. Der Angriff muss lokal erfolgen. Der Exploit wurde der Öffentlichkeit bekannt gemacht und könnte verwendet werden.

GitHub Advisory Database
Summary

A memory-safety vulnerability in Open Babel's ChemKin parser caused a NULL pointer dereference when reading a crafted input file.

Details

The flaw was in ChemKinFormat::ReadReactionQualifierLines. A malformed reaction qualifier record caused the parser to dereference a NULL pointer.

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 #2829; 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. El elemento afectado es la función ChemKinFormat::ReadReactionQualifierLines del archivo /src/formats/chemkinformat.cpp. La manipulación conduce a una desreferencia de puntero nulo. El ataque solo puede realizarse desde un entorno local. El exploit ha sido divulgado al público y puede ser utilizado.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-10998 changed 2025-09-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-j9pp-7wfg-q7fj changed 2026-07-13CC-BY-4.0
NVDCVE-2025-10998 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2026-2782 changed 2026-07-13CC-BY-4.0