Vulnerability · Published Sep 26, 2025 · Assigned by VulDB
CVE-2025-10996Open Babel smilesformat.cpp ParseSmiles heap-based overflow
Medium 5.3
In plain English
A medium-severity heap buffer overflow in Open Babel. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was detected in Open Babel up to 3.1.1. This issue affects the function OBSmilesParser::ParseSmiles of the file /src/formats/smilesformat.cpp. Performing manipulation results in heap-based buffer overflow. The attack needs to be approached locally. The exploit is now public and may be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openbabel | no fix listed | DEBIAN-CVE-2025-10996 |
| Debian:13 | openbabel | no fix listed | DEBIAN-CVE-2025-10996 |
| Debian:14 | openbabel | no fix listed | DEBIAN-CVE-2025-10996 |
| PyPI | openbabel | 3.2.0 | GHSA-j35x-w4gj-pf7w |
| PyPI | openbabel | 3.2.0 | PYSEC-2026-2781 |
| Ubuntu:22.04:LTS | openbabel | no fix listed | UBUNTU-CVE-2025-10996 |
| Ubuntu:24.04:LTS | openbabel | no fix listed | UBUNTU-CVE-2025-10996 |
| Ubuntu:25.10 | openbabel | no fix listed | UBUNTU-CVE-2025-10996 |
| Ubuntu:26.04:LTS | openbabel | no fix listed | UBUNTU-CVE-2025-10996 |
| Ubuntu:26.10 | openbabel | no fix listed | UBUNTU-CVE-2025-10996 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | Open Babel | 3.1.03.1.1 |
Weakness: CWE-122, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
References
- VDB-325924 | Open Babel smilesformat.cpp ParseSmiles heap-based overflow vdb-entry, technical-description
- VDB-325924 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #654060 | Open Babel 3.1.1 / master commit 889c350 Heap-based Buffer Overflow third-party-advisory
- https://github.com/openbabel/openbabel/issues/2831 issue-tracking
- https://github.com/user-attachments/files/22318556/poc.zip exploit