{"id":"CVE-2022-46290","aliases":["CVE-2022-46290","GHSA-5rff-8f7c-8jmw","PYSEC-2026-2773"],"related":[],"kind":"vulnerability","state":"published","title":"Open Babel has out-of-bounds write in ORCA nAtoms parser (second variant)","summary":"Multiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms 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.The loop that stores the coordinates does not check its index against nAtoms","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Multiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms 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.The loop that stores the coordinates does not check its index against nAtoms","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA memory-safety vulnerability in Open Babel's ORCA parser allowed an\nout-of-bounds write when reading a crafted input file.\n\n### Details\n\nA second variant of the `nAtoms` out-of-bounds write in the ORCA\nreader: a different malformed-input path produced the same class of\nwrite past the end of the 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 ORCA 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/b239d06e\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:42.003Z","modified":"2026-07-13T16:43:50.996Z","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-122","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":[{"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-1665","tags":["exploit","technical-description","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2022-1665","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/openbabel/openbabel/security/advisories/GHSA-5rff-8f7c-8jmw","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46290","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openbabel/openbabel/commit/b239d06eb724bb684eea0040e9d87cf07072b081","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-5rff-8f7c-8jmw","tags":["advisory"],"sources":["pysec"]}],"credits":["Discovered by Claudio Bozzato of Cisco Talos."],"assigner":"talos","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-24T16:34:19.933Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-46290","url":"https://www.cve.org/CVERecord?id=CVE-2022-46290","licence":"CVE Terms of Use","modified":"2025-11-04T19:14:17.650Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5rff-8f7c-8jmw","url":"https://github.com/advisories/GHSA-5rff-8f7c-8jmw","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:50.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-46290","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46290","licence":"Public domain","modified":"2026-06-17T05:11:26.570Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2773","url":"https://osv.dev/vulnerability/PYSEC-2026-2773","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:06.173Z"}],"updatedAt":"2026-11-25T22:58:19.479Z","epss":{"score":0.00804,"percentile":0.57885,"date":"2026-12-01T12:00:22.000Z"}}