# CVE-2026-2704: Open Babel CIF File transform3d.cpp DescribeAsString out-of-bounds

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-02-19T04:32:07.297Z
- Modified: 2026-07-13T16:43:22.103Z
- Also known as: GHSA-6xw4-2g22-26h8, PYSEC-2026-2774
- Weaknesses: CWE-119, CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- Open Babel: 3.1.0; 3.1.1 (not affected: 3.2.0)
- openbabel (PyPI): before 3.2.0
- openbabel open_babel: up to 3.1.1

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 4.4 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://github.com/openbabel/openbabel/issues/2848> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/oneafter/0128/blob/main/ob1/repro.cif> (exploit, web)
- <https://vuldb.com/vuln/346650> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/346650/cti> (permissions-required, signature, web)
- <https://vuldb.com/submit/754378> (third-party-advisory, web)
- <https://github.com/openbabel/openbabel/pull/2862> (issue-tracking, patch, web)
- <https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a> (patch, web)
- <https://github.com/openbabel/openbabel/releases/tag/openbabel-3-2-0> (patch, web)
- <https://github.com/openbabel/openbabel/security/advisories/GHSA-6xw4-2g22-26h8> (related, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-2704> (advisory)
- <https://github.com/openbabel/openbabel> (package)
- <https://vuldb.com/?ctiid.346650> (web)
- <https://vuldb.com/?id.346650> (web)
- <https://vuldb.com/?submit.754378> (web)
- <https://pypi.org/project/openbabel> (package)
- <https://github.com/advisories/GHSA-6xw4-2g22-26h8> (advisory)

## Sources

- CVE List: [CVE-2026-2704](https://www.cve.org/CVERecord?id=CVE-2026-2704), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-6xw4-2g22-26h8](https://github.com/advisories/GHSA-6xw4-2g22-26h8), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-2704](https://nvd.nist.gov/vuln/detail/CVE-2026-2704), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2774](https://osv.dev/vulnerability/PYSEC-2026-2774), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-2704 · Whole record: https://cve.day/CVE-2026-2704.json · Rebuilt by cve.day 2026-11-25T22:59:14.090Z
