Skip to content
Heist/ feed
Back to feed
Critical

openbabel — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-46291

Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing functionality in multiple supported formats 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.This vulnerability affects the MSI file format

Products
openbabel
Affected versions
2.3.2+dfsg-2.2, 2.3.2+dfsg-2.2build1, 2.3.2+dfsg-3build1, 2.4.1+dfsg-3, 2.4.1+dfsg-3build1, 2.4.1+dfsg-5.1, 2.4.1+dfsg-6, 3.0.0+dfsg-3, 3.0.0+dfsg-3ubuntu3, 3.1.1+dfsg-11ubuntu3, 3.1.1+dfsg-11ubuntu4, 3.1.1+dfsg-11ubuntu5, 3.1.1+dfsg-14ubuntu2, 3.1.1+dfsg-6ubuntu1, 3.1.1+dfsg-6ubuntu5, 3.1.1+dfsg-9build2, 3.1.1+dfsg-9ubuntu1, 3.1.1+dfsg-9ubuntu2, 3.1.1+dfsg-9ubuntu4, 3.1.1+dfsg-9ubuntu5
Fixed versions
Not specified
CVEs
CVE-2022-46291
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:48 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-46291

core-osv · Original source

Published 21 Jul 2023, 21:15 UTC

Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing functionality in multiple supported formats 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.This vulnerability affects the MSI file format

osv:UBUNTU-CVE-2022-46291

openbabel

Fixed versions: Not specified

openbabel

Fixed versions: Not specified

openbabel

Fixed versions: Not specified

openbabel

Fixed versions: Not specified

openbabel

Fixed versions: Not specified

openbabel

Fixed versions: Not specified

openbabel

Fixed versions: Not specified

openbabel

Fixed versions: Not specified

Complete source record
{
  "id": "cdc476b1e8e5823a690892b3e6db722ec6f6149f729bd1c547767f502aac5d80",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-46291",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-46291",
    "summary": "Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing functionality in multiple supported formats 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.This vulnerability affects the MSI file format",
    "evidence": "osv:UBUNTU-CVE-2022-46291",
    "products": [
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.2+dfsg-2.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.3.2+dfsg-2.2build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.3.2+dfsg-3build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.4.1+dfsg-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.1+dfsg-3build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.1+dfsg-5.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.4.1+dfsg-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.0+dfsg-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.0+dfsg-3ubuntu3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.1+dfsg-6ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.1.1+dfsg-6ubuntu5",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.1+dfsg-9build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.1.1+dfsg-9ubuntu1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.1.1+dfsg-9ubuntu2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.1.1+dfsg-9ubuntu4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.1.1+dfsg-9ubuntu5",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.1+dfsg-11ubuntu3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.1.1+dfsg-11ubuntu4",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.1+dfsg-11ubuntu5",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "3.1.1+dfsg-14ubuntu2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "openbabel",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.1+dfsg-11ubuntu4",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "3.1.1+dfsg-11ubuntu5",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2022-46291",
      "aliases": [
        "UBUNTU-CVE-2022-46291"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.3.2+dfsg-2.2",
            "2.3.2+dfsg-2.2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "2.3.2+dfsg-2.2build1"
              },
              {
                "binary_name": "libopenbabel4v5",
                "binary_version": "2.3.2+dfsg-2.2build1"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "2.3.2+dfsg-2.2build1"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "2.3.2+dfsg-2.2build1"
              },
              {
                "binary_name": "python-openbabel",
                "binary_version": "2.3.2+dfsg-2.2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.3.2+dfsg-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "2.3.2+dfsg-3build1"
              },
              {
                "binary_name": "libopenbabel4v5",
                "binary_version": "2.3.2+dfsg-3build1"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "2.3.2+dfsg-3build1"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "2.3.2+dfsg-3build1"
              },
              {
                "binary_name": "python-openbabel",
                "binary_version": "2.3.2+dfsg-3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.4.1+dfsg-3",
            "2.4.1+dfsg-3build1",
            "2.4.1+dfsg-5.1",
            "2.4.1+dfsg-6",
            "3.0.0+dfsg-3",
            "3.0.0+dfsg-3ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "3.0.0+dfsg-3ubuntu3"
              },
              {
                "binary_name": "libopenbabel6",
                "binary_version": "3.0.0+dfsg-3ubuntu3"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "3.0.0+dfsg-3ubuntu3"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "3.0.0+dfsg-3ubuntu3"
              },
              {
                "binary_name": "python3-openbabel",
                "binary_version": "3.0.0+dfsg-3ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.1.1+dfsg-6ubuntu1",
            "3.1.1+dfsg-6ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "3.1.1+dfsg-6ubuntu5"
              },
              {
                "binary_name": "libopenbabel7",
                "binary_version": "3.1.1+dfsg-6ubuntu5"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "3.1.1+dfsg-6ubuntu5"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "3.1.1+dfsg-6ubuntu5"
              },
              {
                "binary_name": "python3-openbabel",
                "binary_version": "3.1.1+dfsg-6ubuntu5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.1.1+dfsg-9build2",
            "3.1.1+dfsg-9ubuntu1",
            "3.1.1+dfsg-9ubuntu2",
            "3.1.1+dfsg-9ubuntu4",
            "3.1.1+dfsg-9ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "3.1.1+dfsg-9ubuntu5"
              },
              {
                "binary_name": "libopenbabel7",
                "binary_version": "3.1.1+dfsg-9ubuntu5"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "3.1.1+dfsg-9ubuntu5"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "3.1.1+dfsg-9ubuntu5"
              },
              {
                "binary_name": "python3-openbabel",
                "binary_version": "3.1.1+dfsg-9ubuntu5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.1.1+dfsg-11ubuntu3",
            "3.1.1+dfsg-11ubuntu4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "3.1.1+dfsg-11ubuntu4"
              },
              {
                "binary_name": "libopenbabel7",
                "binary_version": "3.1.1+dfsg-11ubuntu4"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "3.1.1+dfsg-11ubuntu4"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "3.1.1+dfsg-11ubuntu4"
              },
              {
                "binary_name": "python3-openbabel",
                "binary_version": "3.1.1+dfsg-11ubuntu4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.1.1+dfsg-11ubuntu5",
            "3.1.1+dfsg-14ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "3.1.1+dfsg-14ubuntu2"
              },
              {
                "binary_name": "libopenbabel7",
                "binary_version": "3.1.1+dfsg-14ubuntu2"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "3.1.1+dfsg-14ubuntu2"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "3.1.1+dfsg-14ubuntu2"
              },
              {
                "binary_name": "python3-openbabel",
                "binary_version": "3.1.1+dfsg-14ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "openbabel",
            "purl": "pkg:deb/ubuntu/openbabel?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.1.1+dfsg-11ubuntu4",
            "3.1.1+dfsg-11ubuntu5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46291.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libchemistry-openbabel-perl",
                "binary_version": "3.1.1+dfsg-11ubuntu5"
              },
              {
                "binary_name": "libopenbabel7",
                "binary_version": "3.1.1+dfsg-11ubuntu5"
              },
              {
                "binary_name": "openbabel",
                "binary_version": "3.1.1+dfsg-11ubuntu5"
              },
              {
                "binary_name": "openbabel-gui",
                "binary_version": "3.1.1+dfsg-11ubuntu5"
              },
              {
                "binary_name": "python3-openbabel",
                "binary_version": "3.1.1+dfsg-11ubuntu5"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:03.620677196Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-46291"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-46291",
        "https://talosintelligence.com/vulnerability_reports/TALOS-2022-1666",
        "https://www.cve.org/CVERecord?id=CVE-2022-46291"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-46291",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354730,
  "published_at": "2023-07-21T21:15:00+00:00"
}