CVE-2025-11000: Open Babel PQSformat.cpp ReadMolecule null pointer dereference
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/fuzzregress/ and is exercised on every CI build under ASAN+UBSAN by the fuzzregresstest harness.
Credit
Reported via OSS-Fuzz.
Other sources
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.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/openbabelto a version that resolves this vulnerability.Fixed in 3.2.0 - Upgrade
Upgrade
Open Babelto a version that resolves this vulnerability.Fixed in 3.2.0 - Compensating control
Restrict use of Open Babel (e.g., `obabel` CLI / `OBConversion` API / language bindings) to trusted input only; the vulnerability requires opening a malicious PQS file with an Open Babel service/tool that parses PQS.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-11000?
CVE-2025-11000 has a medium severity rating due to the risk of a null pointer dereference in local execution.
How do I fix CVE-2025-11000?
To fix CVE-2025-11000, update Open Babel to version 3.1.2 or later where the vulnerability is addressed.
What type of vulnerability is CVE-2025-11000?
CVE-2025-11000 is classified as a null pointer dereference vulnerability.
Who is affected by CVE-2025-11000?
Open Babel versions up to 3.1.1 are affected by CVE-2025-11000.
Is remote execution possible with CVE-2025-11000?
No, CVE-2025-11000 can only be exploited through local execution.