Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openbabel | Open Babel | <= 3.1.1 |
Related Weaknesses (CWE)
References
- https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb
- https://github.com/oneafter/0128/blob/main/ob2/repro.mol2Exploit
- https://github.com/openbabel/openbabel/issues/2848ExploitIssue Tracking
- https://github.com/openbabel/openbabel/pull/2862
- https://vuldb.com/?ctiid.346651Permissions RequiredVDB Entry
- https://vuldb.com/?id.346651Third Party AdvisoryVDB Entry
- https://vuldb.com/?submit.754379Third Party AdvisoryVDB Entry
FAQ
What is CVE-2026-2705?
CVE-2026-2705 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 man...
How severe is CVE-2026-2705?
CVE-2026-2705 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-2705?
Check the references section above for vendor advisories and patch information. Affected products include: Openbabel Open Babel.