{"id":"CVE-2022-43467","aliases":["CVE-2022-43467","GHSA-f29h-2h58-48r7","PYSEC-2026-2779"],"related":[],"kind":"vulnerability","state":"published","title":"Open Babel has out-of-bounds write in PQS coord_file parser","summary":"An out-of-bounds write vulnerability exists in the PQS format coord_file functionality of Open Babel 3.1.1 and master commit 530dbfa3. A specially crafted malformed file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An out-of-bounds write vulnerability exists in the PQS format coord_file functionality of Open Babel 3.1.1 and master commit 530dbfa3. A specially crafted malformed file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA memory-safety vulnerability in Open Babel's PQS parser allowed an\nout-of-bounds write when reading a crafted input file.\n\n### Details\n\nThe flaw was in the `coord_file` parsing path of the PQS reader. A\nmalformed coord file specifier caused the parser to write past the\nend of its destination buffer.\n\n### Impact\n\nOpen Babel is a C++ library and CLI used to read and write chemistry\nfile formats; it is shipped by Linux distributions and embedded in\nservices that may parse untrusted input. Triggering this vulnerability\nrequires the victim to open a malicious PQS file with the `obabel`\ntool, the `OBConversion` API, or any of the language bindings (Python,\nRuby, Java, R, Perl, C#, PHP).\n\n### Affected versions\n\nAll releases up to and including 3.1.1.\n\n### Patched version\n\n3.2.0 (released 2026-05-26).\n\n### Patch\n\nFix commit: https://github.com/openbabel/openbabel/commit/2a7d2cda\n\nA minimized reproducer for this CVE is checked in under\n`test/files/fuzz_regress/` and is exercised on every CI build under\nASAN+UBSAN by the `fuzzregresstest` harness.\n\n### Credit\n\nReported by Cisco TALOS.","format":"markdown","source":"ghsa"}],"published":"2023-07-21T20:25:39.044Z","modified":"2026-07-13T16:42:59.039Z","severity":{"scorer":"talos","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"talos","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"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:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-119","CWE-787"],"affected":[{"ranges":[{"version":"3.1.1","status":"affected"},{"version":"master commit 530dbfa3","status":"affected"}],"vendor":"Open Babel","product":"Open Babel","source":"cvelist"},{"ranges":[{"version":"3.1.1","status":"affected"}],"vendor":"openbabel","product":"open_babel","cpe":"cpe:2.3:a:openbabel:open_babel:3.1.1:*:*:*:*:*:*:*","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","version":"3.1.1"}],"vendor":"openbabel","product":"open_babel","cpe":"cpe:2.3:a:openbabel:open_babel:3.1.1:*:*:*:*:*:*:*","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://talosintelligence.com/vulnerability_reports/TALOS-2022-1671","tags":["exploit","third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2022-1671","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/security/advisories/GHSA-f29h-2h58-48r7","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43467","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openbabel/openbabel/commit/2a7d2cda8bd47daade2e555e34b69651a2e132ef","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openbabel/openbabel","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/openbabel","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-f29h-2h58-48r7","tags":["advisory"],"sources":["pysec"]}],"credits":["Discovered by Claudio Bozzato of Cisco Talos."],"assigner":"talos","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-08-01T15:15:44.169Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-43467","url":"https://www.cve.org/CVERecord?id=CVE-2022-43467","licence":"CVE Terms of Use","modified":"2024-08-03T13:32:58.825Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f29h-2h58-48r7","url":"https://github.com/advisories/GHSA-f29h-2h58-48r7","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:59.039Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-43467","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43467","licence":"Public domain","modified":"2026-06-17T05:06:36.710Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2779","url":"https://osv.dev/vulnerability/PYSEC-2026-2779","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:41.498Z"}],"updatedAt":"2026-11-25T22:58:19.477Z","epss":{"score":0.00828,"percentile":0.58613,"date":"2026-12-01T12:00:22.000Z"}}