CVE-2026-2704Open Babel CIF File transform3d.cpp DescribeAsString out-of-bounds
A security vulnerability has been detected in Open Babel up to 3.1.1. The affected element is the function OpenBabel::transform3d::DescribeAsString of the file src/math/transform3d.cpp of the component CIF File Handler. The manipulation leads to out-of-bounds read. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 3.2.0 is sufficient to fix this issue. The identifier of the patch is e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a. It is suggested to install a patch to address this issue.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | openbabel | Fix pending | UBUNTU-CVE-2026-2704 | |
| Ubuntu 26.04 | openbabel | Under investigation | UBUNTU-CVE-2026-2704 | |
| Ubuntu 25.10 | openbabel | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-2704 | |
| Ubuntu 24.04 | openbabel | Under investigation | UBUNTU-CVE-2026-2704 | |
| Ubuntu 22.04 | openbabel | Under investigation | UBUNTU-CVE-2026-2704 | |
| Ubuntu 20.04 | openbabel | Fix pending | UBUNTU-CVE-2026-2704 | |
| Ubuntu 18.04 | openbabel | Fix pending | UBUNTU-CVE-2026-2704 | |
| Ubuntu 16.04 | openbabel | Fix pending | UBUNTU-CVE-2026-2704 | |
| Debian 14 | openbabel | Fixed | 3.2.0+dfsg-1 | DEBIAN-CVE-2026-2704 |
| Debian 13 | openbabel | Fix pending | DEBIAN-CVE-2026-2704 | |
| Debian 12 | openbabel | Fix pending | DEBIAN-CVE-2026-2704 | |
| PyPI library | openbabel | Fixed | 3.2.0 | PYSEC-2026-2774 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Open Babel: affected: 3.1.0, 3.1.1, 3.2.0 not affected
Vendor advisories:
- https://github.com/openbabel/openbabel/pull/2862 (patch)
- https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a (patch)
- https://github.com/openbabel/openbabel/releases/tag/openbabel-3-2-0 (patch)
References
- https://vuldb.com/vuln/346650
- https://vuldb.com/vuln/346650/cti
- https://vuldb.com/submit/754378
- https://github.com/openbabel/openbabel/issues/2848
- https://github.com/openbabel/openbabel/pull/2862
- https://github.com/oneafter/0128/blob/main/ob1/repro.cif
- https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a
- https://github.com/openbabel/openbabel/releases/tag/openbabel-3-2-0
- https://github.com/openbabel/openbabel/security/advisories/GHSA-6xw4-2g22-26h8
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.