4.8medium
Open Babel PQSformat.cpp ReadMolecule null pointer dereference
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-m982-7q3h-r784PYSEC-2026-2785
Description
A vulnerability was determined in Open Babel up to 3.1.1. This affects the function PQSFormat::ReadMolecule of the file /src/formats/PQSformat.cpp. This manipulation causes null pointer dereference. The attack is restricted to local execution. The exploit has been publicly disclosed and may be utilized.
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 | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
| 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 | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L |
Classification
What each source says
CVE List
A vulnerability was determined in Open Babel up to 3.1.1. This affects the function PQSFormat::ReadMolecule of the file /src/formats/PQSformat.cpp. This manipulation causes null pointer dereference. The attack is restricted to local execution. The exploit has been publicly disclosed and may be utilized.
CVE List (de)
Eine Schwachstelle wurde in Open Babel up to 3.1.1 gefunden. Dies betrifft die Funktion PQSFormat::ReadMolecule der Datei /src/formats/PQSformat.cpp. Durch Manipulieren mit unbekannten Daten kann eine null pointer dereference-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs hat dabei lokal zu erfolgen. Der Exploit ist öffentlich verfügbar und könnte genutzt werden.
GitHub Advisory Database
Summary
A memory-safety vulnerability in Open Babel's PQS parser caused an out-of-bounds (pre-buffer) read when reading a crafted input file.
Details
The flaw was in the lowerit helper used by the PQS parser. A
malformed input caused the helper to read one or more bytes before
the start of its input buffer.
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 PQS 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/f4a5ebae 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 determinó una vulnerabilidad en Open Babel hasta 3.1.1. Esto afecta la función PQSFormat::ReadMolecule del archivo /src/formats/PQSformat.cpp. Esta manipulación causa desreferencia de puntero nulo. El ataque está restringido a ejecución local. El exploit ha sido divulgado públicamente y puede ser utilizado.
References
| https://vuldb.com/?id.325928 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.325928 | permissions-required, signature, vdb-entry, web | |
| https://vuldb.com/?submit.654066 | third-party-advisory, vdb-entry, web | |
| https://github.com/openbabel/openbabel/issues/2826 | exploit, issue-tracking, web | |
| https://github.com/user-attachments/files/22318474/poc.zip | exploit, web | |
| https://github.com/openbabel/openbabel/security/advisories/GHSA-m982-7q3h-r784 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-11000 | advisory | |
| https://github.com/openbabel/openbabel/commit/f4a5ebae | web | |
| https://github.com/openbabel/openbabel | package | |
| https://pypi.org/project/openbabel | package | |
| https://github.com/advisories/GHSA-m982-7q3h-r784 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-11000 changed 2025-09-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m982-7q3h-r784 changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2025-11000 changed 2026-10-19 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2785 changed 2026-07-13 | CC-BY-4.0 |