4.8medium
Open Babel cacaoformat.cpp SetHilderbrandt null pointer dereference
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-55j6-rjhx-hwfhPYSEC-2026-2772
Description
A vulnerability was found in Open Babel up to 3.1.1. The impacted element is the function CacaoFormat::SetHilderbrandt of the file /src/formats/cacaoformat.cpp. The manipulation results in null pointer dereference. The attack is only possible with local access. The exploit has been made public and could 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.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| 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 |
Classification
What each source says
CVE List
A vulnerability was found in Open Babel up to 3.1.1. The impacted element is the function CacaoFormat::SetHilderbrandt of the file /src/formats/cacaoformat.cpp. The manipulation results in null pointer dereference. The attack is only possible with local access. The exploit has been made public and could be used.
CVE List (de)
In Open Babel up to 3.1.1 ist eine Schwachstelle entdeckt worden. Das betrifft die Funktion CacaoFormat::SetHilderbrandt der Datei /src/formats/cacaoformat.cpp. Durch das Manipulieren mit unbekannten Daten kann eine null pointer dereference-Schwachstelle ausgenutzt werden. Der Angriff muss lokal passieren. Die Schwachstelle wurde öffentlich offengelegt und könnte ausgenutzt werden.
GitHub Advisory Database
Summary
A memory-safety vulnerability in Open Babel's CACAO parser caused a NULL pointer dereference when reading a crafted input file.
Details
The flaw was in CacaoFormat::SetHilderbrandt. A malformed input
caused the parser to dereference a NULL pointer while applying the
Hilderbrandt transformation.
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 CACAO 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/ecaed96f Originally reported as #2827; 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 encontró una vulnerabilidad en Open Babel hasta 3.1.1. El elemento afectado es la función CacaoFormat::SetHilderbrandt del archivo /src/formats/cacaoformat.cpp. La manipulación resulta en una desreferencia de puntero nulo. El ataque solo es posible con acceso local. El exploit ha sido hecho público y podría ser usado.
References
| https://vuldb.com/?id.325927 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.325927 | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/?submit.654064 | third-party-advisory, vdb-entry, web | |
| https://github.com/openbabel/openbabel/issues/2827 | exploit, issue-tracking, web | |
| https://github.com/user-attachments/files/22318503/poc.zip | exploit, web | |
| https://github.com/openbabel/openbabel/security/advisories/GHSA-55j6-rjhx-hwfh | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-10999 | advisory | |
| https://github.com/openbabel/openbabel/commit/ecaed96f | web | |
| https://github.com/openbabel/openbabel | package | |
| https://pypi.org/project/openbabel | package | |
| https://github.com/advisories/GHSA-55j6-rjhx-hwfh | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-10999 changed 2025-09-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-55j6-rjhx-hwfh changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2025-10999 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2772 changed 2026-07-13 | CC-BY-4.0 |