CVE-2026-2705

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:openbabel:open_babel:*:*:*:*:*:*:*:*

History

01 Mar 2026, 07:15

Type Values Removed Values Added
References
  • () https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a -
  • () https://github.com/openbabel/openbabel/pull/2862 -
Summary (en) 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 project was informed of the problem early through an issue report but has not responded yet. (en) 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.

19 Feb 2026, 20:12

Type Values Removed Values Added
References () https://github.com/oneafter/0128/blob/main/ob2/repro.mol2 - () https://github.com/oneafter/0128/blob/main/ob2/repro.mol2 - Exploit
References () https://github.com/openbabel/openbabel/issues/2848 - () https://github.com/openbabel/openbabel/issues/2848 - Exploit, Issue Tracking
References () https://vuldb.com/?ctiid.346651 - () https://vuldb.com/?ctiid.346651 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.346651 - () https://vuldb.com/?id.346651 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.754379 - () https://vuldb.com/?submit.754379 - Third Party Advisory, VDB Entry
First Time Openbabel open Babel
Openbabel
CPE cpe:2.3:a:openbabel:open_babel:*:*:*:*:*:*:*:*

19 Feb 2026, 07:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-19 07:17

Updated : 2026-03-01 07:15


NVD link : CVE-2026-2705

Mitre link : CVE-2026-2705

CVE.ORG link : CVE-2026-2705


JSON object : View

Products Affected

openbabel

  • open_babel
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-125

Out-of-bounds Read