{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.1.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "cbd4db43f8908b874864280fdc03bf92569eebc1"
            }
          ],
          "repo": "https://github.com/VedantMadane/openbabel",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a"
            }
          ],
          "repo": "https://github.com/vedantmadane/openbabel",
          "type": "GIT"
        }
      ]
    }
  ],
  "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": "CVE-2026-2705",
  "modified": "2026-04-01T23:08:30.141919032Z",
  "published": "2026-02-19T07:17:49.990Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.346651"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?submit.754379"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/openbabel/openbabel/issues/2848"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.346651"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openbabel/openbabel/pull/2862"
    },
    {
      "type": "FIX",
      "url": "https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/oneafter/0128/blob/main/ob2/repro.mol2"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}