CVE-2026-2705
Open Babel MOL2 File atom.h SetFormalCharge out-of-bounds
- State
- Published
- Severity
- 5.3 Medium
- Published
- Feb 19, 2026
- Updated
- Mar 3, 2026
- Reserved
- Feb 18, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | 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 | VulDB |
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 4.3 Medium | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 5.0 Medium | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
Open Babeln/a |
|
References
- VDB-346651 | Open Babel MOL2 File atom.h SetFormalCharge out-of-boundsvdb-entrytechnical-description
- VDB-346651 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #754379 | openbabel master-branch NULL Pointer Dereferencethird-party-advisory
- https://github.com/openbabel/openbabel/issues/2848issue-tracking
- https://github.com/openbabel/openbabel/pull/2862issue-trackingpatch
- https://github.com/oneafter/0128/blob/main/ob2/repro.mol2exploit
- https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08apatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.