CVE-2025-10995Low· 7.8▾ SunlitOpen Babel has out-of-bounds write (overlapping memcpy) in zipstream basic_unzip_streambuf::underflow
▾ Sunlit zone — Low / medium · no exploitation signal
impact 42.9 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 4.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via GHSA
0.2%
0.2% → 0.3%
A memory-safety vulnerability in Open Babel's bundled zipstream
decompression code caused an out-of-bounds write via overlapping
memcpy when reading a crafted gzip-compressed chemistry file.
The flaw was in basic_unzip_streambuf::underflow. The decompression
buffer refill path invoked memcpy with overlapping source and
destination regions, which is undefined behavior and produced
out-of-bounds writes in practice. Any file format read through the
gzip-wrapped reader was a potential trigger.
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 gzip-compressed chemistry file
with the obabel tool, the OBConversion API, or any of the language
bindings (Python, Ruby, Java, R, Perl, C#, PHP).
All releases up to and including 3.1.1.
3.2.0 (released 2026-05-26).
Fix commit: https://github.com/openbabel/openbabel/commit/d4621d41 Originally reported as #2832; 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.
Reported via OSS-Fuzz.
openbabel < 3.2.0Upgrade to a patched release:
openbabel 3.2.0Connected by shared product, vendor, weakness, or advisory.
CVE-2022-46292High· 7.8Open Babel has out-of-bounds write in MOPAC translationVectors[] (UNIT CELL TRANSLATION)
CVE-2022-37331High· 7.8Open Babel has out-of-bounds write in Gaussian coords_type orientation parser
CVE-2022-41793High· 7.8Open Babel has out-of-bounds write in CSR PadString (title field)
CVE-2022-43467High· 7.8Open Babel has out-of-bounds write in PQS coord_file parser
CVE-2022-43607High· 7.8Open Babel has out-of-bounds write in MOL2 attribute/value parser
CVE-2022-46289High· 7.8Open Babel has out-of-bounds write in ORCA nAtoms parser