CVE-2025-10999
JSON

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 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.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
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

Classification

CWE-404CWE-476

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

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

Sources

SourceRecordLicence
CVE ListCVE-2025-10999 changed 2025-09-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-55j6-rjhx-hwfh changed 2026-07-13CC-BY-4.0
NVDCVE-2025-10999 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2026-2772 changed 2026-07-13CC-BY-4.0