ubuntu-cve-2026-2705
Vulnerability from osv_ubuntu
Published
2026-02-19 07:17
Modified
2026-05-20 15:24
Summary
Details

A vulnerability was detected in Open Babel up to 3.1.1. The impacted element is the function OBAtom::SetFormalCharge in the library include/openbabel/atom.h of the component MOL2 File Handler. The manipulation results in out-of-bounds read. It is possible to launch the attack remotely. The exploit is now public and may be used. The patch is identified as e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a. A patch should be applied to remediate this issue. The project was informed of the problem early through an issue report but has not responded yet.


{
  "affected": [
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "openbabel",
        "purl": "pkg:deb/ubuntu/openbabel@2.3.2+dfsg-2.2build1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.3.2+dfsg-2.2",
        "2.3.2+dfsg-2.2build1"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "openbabel",
        "purl": "pkg:deb/ubuntu/openbabel@2.3.2+dfsg-3build1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.3.2+dfsg-3build1"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "openbabel",
        "purl": "pkg:deb/ubuntu/openbabel@3.0.0+dfsg-3ubuntu3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "openbabel",
        "purl": "pkg:deb/ubuntu/openbabel@3.1.1+dfsg-6ubuntu5?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.1+dfsg-6ubuntu1",
        "3.1.1+dfsg-6ubuntu5"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "openbabel",
        "purl": "pkg:deb/ubuntu/openbabel@3.1.1+dfsg-9ubuntu5?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "openbabel",
        "purl": "pkg:deb/ubuntu/openbabel@3.1.1+dfsg-11ubuntu4?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.1+dfsg-11ubuntu3",
        "3.1.1+dfsg-11ubuntu4"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "openbabel",
        "purl": "pkg:deb/ubuntu/openbabel@3.1.1+dfsg-11ubuntu5?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.1.1+dfsg-11ubuntu4",
        "3.1.1+dfsg-11ubuntu5"
      ]
    }
  ],
  "aliases": [],
  "details": "A vulnerability was detected in Open Babel up to 3.1.1. The impacted element is the function OBAtom::SetFormalCharge in the library include/openbabel/atom.h of the component MOL2 File Handler. The manipulation results in out-of-bounds read. It is possible to launch the attack remotely. The exploit is now public and may be used. The patch is identified as e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a. A patch should be applied to remediate this issue. The project was informed of the problem early through an issue report but has not responded yet.",
  "id": "UBUNTU-CVE-2026-2705",
  "modified": "2026-05-20T15:24:28Z",
  "published": "2026-02-19T07:17:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-2705"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-2705"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/openbabel/openbabel/issues/2848"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/oneafter/0128/blob/main/ob2/repro.mol2"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.346651"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?id.346651"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?submit.754379"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "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",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-2705"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…