Skip to content
Heist/ feed
Back to feed
High

openbabel — security advisory

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

An out-of-bounds write vulnerability exists in the Gaussian format orientation 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.

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-37331
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:42 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-37331

core-osv · Original source

Published 21 Jul 2023, 21:15 UTC

An out-of-bounds write vulnerability exists in the Gaussian format orientation 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.

osv:UBUNTU-CVE-2022-37331

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": "b4e50883775f9698d75ae0ff9dbbc607555674a97b9bd74d2a34961ac1b05a24",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-37331",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-37331",
    "summary": "An out-of-bounds write vulnerability exists in the Gaussian format orientation 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.",
    "evidence": "osv:UBUNTU-CVE-2022-37331",
    "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": "high",
    "structured": {
      "id": "UBUNTU-CVE-2022-37331",
      "aliases": [
        "UBUNTU-CVE-2022-37331"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "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-37331.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-37331.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-37331.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-37331.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-37331.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-37331.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-37331.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-37331.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:55:58.958791162Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-37331"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-37331",
        "https://talosintelligence.com/vulnerability_reports/TALOS-2022-1672",
        "https://www.cve.org/CVERecord?id=CVE-2022-37331"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-37331",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 354433,
  "published_at": "2023-07-21T21:15:00+00:00"
}