CVE-2025-10994
JSON

4.8medium

Open Babel gamessformat.cpp ReadMolecule use after free

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-pp85-5j63-xpq3PYSEC-2026-2789

Description

A weakness has been identified in Open Babel up to 3.1.1. This affects the function GAMESSOutputFormat::ReadMolecule of the file gamessformat.cpp. This manipulation causes use after free. It is possible to launch the attack on the local host. The exploit has been made available to the public and could be exploited.

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.8low CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHublow 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
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
PyPA Advisory DatabaseNot scored 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

Classification

CWE-119CWE-416

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

What each source says

CVE List

A weakness has been identified in Open Babel up to 3.1.1. This affects the function GAMESSOutputFormat::ReadMolecule of the file gamessformat.cpp. This manipulation causes use after free. It is possible to launch the attack on the local host. The exploit has been made available to the public and could be exploited.

CVE List (de)

In Open Babel up to 3.1.1 wurde eine Schwachstelle gefunden. Hierbei geht es um die Funktion GAMESSOutputFormat::ReadMolecule der Datei gamessformat.cpp. Mit der Manipulation mit unbekannten Daten kann eine use after free-Schwachstelle ausgenutzt werden. Der Angriff ist nur lokal möglich. Die Schwachstelle wurde öffentlich offengelegt und könnte ausgenutzt werden.

GitHub Advisory Database
Summary

A memory-safety vulnerability in Open Babel's GAMESS output parser caused a use-after-free when reading a crafted input file.

Details

The flaw was in GAMESSOutputFormat::ReadMolecule. A malformed input caused the parser to dereference a stale pointer after the underlying object had been freed.

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 GAMESS output 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/95033d27 Originally reported as #2834; 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 identificado una debilidad en Open Babel hasta la versión 3.1.1. Esto afecta a la función GAMESSOutputFormat::ReadMolecule del archivo gamessformat.cpp. Esta manipulación causa uso después de liberar. Es posible lanzar el ataque en el host local. El exploit se ha puesto a disposición del público y podría ser explotado.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-10994 changed 2025-09-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-pp85-5j63-xpq3 changed 2026-07-13CC-BY-4.0
NVDCVE-2025-10994 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2026-2789 changed 2026-07-13CC-BY-4.0