{"id":"CVE-2026-2704","aliases":["CVE-2026-2704","GHSA-6xw4-2g22-26h8","PYSEC-2026-2774"],"related":[],"kind":"vulnerability","state":"published","title":"Open Babel CIF File transform3d.cpp DescribeAsString out-of-bounds","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"> ### Summary\n>\n> A memory-safety vulnerability in Open Babel's CIF file format parser\n> allowed an out-of-bounds read when reading a crafted input file.\n>\n> ### Details\n>\n> The flaw was in `OpenBabel::transform3d::DescribeAsString`. A malformed\n> symmetry-operation string caused the parser to read past the end of its\n> internal buffer while formatting the description.\n>\n> ### Impact\n>\n> Open Babel is a C++ library and CLI used to read and write chemistry\n> file formats; it is shipped by Linux distributions and embedded in\n> services that may parse untrusted input. Triggering this vulnerability\n> requires the victim to open a malicious CIF file with the `obabel`\n> tool, the OBConversion API, or any of the language bindings.\n>\n> ### Affected versions\n>\n> All releases up to and including 3.1.1.\n>\n> ### Patched version\n>\n> 3.2.0 (released 2026-05-26).\n>\n> ### Patch\n>\n> Fix commit: https://github.com/openbabel/openbabel/commit/e23a224b\n> Tracked in #2862.\n>\n> A minimized reproducer for this CVE is checked in at\n> `test/files/fuzz_regress/cve-2026-2704.cif` and is exercised on every\n> CI build under ASAN+UBSAN by the `fuzzregresstest` harness.\n>\n> ### Credit\n>\n> Reported by Vedant Madane (@VedantMadane).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha descubierto una vulnerabilidad de seguridad en Open Babel hasta la versión 3.1.1. La cual afecta a la función OpenBabel::transform3d::DescribeAsString del archivo src/math/transform3d.cpp del componente Gestor de Archivos CIF. si se manipula se puede provocar una lectura fuera de límites. Es posible iniciar el ataque de forma remota. El exploit ha sido divulgado públicamente y puede ser utilizado. El proyecto fue informado del problema con antelación a través de un informe de incidencia pero aún no ha respondido.","source":"nvd"}],"published":"2026-02-19T04:32:07.297Z","modified":"2026-07-13T16:43:22.103Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","score":4.4,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L","score":4.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-119","CWE-125"],"affected":[{"ranges":[{"version":"3.1.0","status":"affected"},{"version":"3.1.1","status":"affected"},{"version":"3.2.0","status":"unaffected"}],"product":"Open Babel","cpe":"cpe:2.3:a:open_babel:open_babel:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.0"}],"ecosystem":"PyPI","package":"openbabel","purl":"pkg:pypi/openbabel","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.1.1"}],"vendor":"openbabel","product":"open_babel","cpe":"cpe:2.3:a:openbabel:open_babel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.2.0"}],"ecosystem":"PyPI","package":"openbabel","purl":"pkg:pypi/openbabel","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/346650","tags":["technical-description","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/346650/cti","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/754378","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/issues/2848","tags":["exploit","issue-tracking","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/pull/2862","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/oneafter/0128/blob/main/ob1/repro.cif","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/releases/tag/openbabel-3-2-0","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/security/advisories/GHSA-6xw4-2g22-26h8","tags":["related","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2704","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openbabel/openbabel","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://vuldb.com/?ctiid.346650","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://vuldb.com/?id.346650","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://vuldb.com/?submit.754378","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/openbabel","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-6xw4-2g22-26h8","tags":["advisory"],"sources":["pysec"]}],"credits":["Oneafter (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-24T01:39:01.417Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-2704","url":"https://www.cve.org/CVERecord?id=CVE-2026-2704","licence":"CVE Terms of Use","modified":"2026-05-28T17:52:14.780Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6xw4-2g22-26h8","url":"https://github.com/advisories/GHSA-6xw4-2g22-26h8","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:22.103Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-2704","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2704","licence":"Public domain","modified":"2026-06-17T10:31:34.390Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2774","url":"https://osv.dev/vulnerability/PYSEC-2026-2774","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:06.286Z"}],"updatedAt":"2026-11-25T22:59:14.090Z","epss":{"score":0.00871,"percentile":0.59921,"date":"2026-12-01T12:00:22.000Z"}}