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 package | Versions | Reported by |
|---|---|---|
| Open Babel | 3.1.0, 3.1.1 | CVE List |
| openbabel (PyPI) | before 3.2.0 | GitHub Advisory Database, PyPA Advisory Database |
| openbabel open_babel | up to 3.1.1 | NVD |
All scores
| VulDB | 4.8medium CVSS:4.0 | CVSS: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 |
| VulDB | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R |
| VulDB | 3.3low CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R |
| VulDB | 1.7low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 5.5low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | low CVSS:4.0 | CVSS: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 |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS: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
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
| https://vuldb.com/?id.325926 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.325926 | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/?submit.654063 | third-party-advisory, vdb-entry, web | |
| https://github.com/openbabel/openbabel/issues/2829 | exploit, issue-tracking, web | |
| https://github.com/user-attachments/files/22318526/poc.zip | exploit, web | |
| https://github.com/openbabel/openbabel/security/advisories/GHSA-j9pp-7wfg-q7fj | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-10998 | advisory | |
| https://github.com/openbabel/openbabel/commit/af4a4212 | web | |
| https://github.com/openbabel/openbabel | package | |
| https://pypi.org/project/openbabel | package | |
| https://github.com/advisories/GHSA-j9pp-7wfg-q7fj | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-10998 changed 2025-09-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j9pp-7wfg-q7fj changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2025-10998 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2782 changed 2026-07-13 | CC-BY-4.0 |