Openbabel: Duplicate Advisory: Open Babel has NULL pointer dereference in MOL2 OBAtom::SetFormalCharge
Affects openbabelSource GCVE Database
0
Severity
LowRated by Threat Radar
- Patch
- Available – fixed in 3.2.0
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XData as of 30 Jun 2026, 23:46 UTC
What to do
Upgrade openbabel to 3.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIopenbabel | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Avoid processing untrusted MOL2 files to reduce exposure.
Description
A vulnerability in Open Babel up to version 3.1.1 involves a NULL pointer dereference in the function OBAtom::SetFormalCharge within the MOL2 File Handler component. This flaw results in an out-of-bounds read and can be triggered remotely. The advisory is a duplicate and has been withdrawn in favor of another. Exploit code is publicly available, but no known exploits in the wild have been reported.
References
- nvd.nist.gov/vuln/detail/CVE-2026-2705 (opens in a new tab)
- github.com/openbabel/openbabel/issues/2848 (opens in a new tab)
- github.com/openbabel/openbabel/pull/2862 (opens in a new tab)
- github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a (opens in a new tab)
- github.com/oneafter/0128/blob/main/ob2/repro.mol2 (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
Community reviews
Loading reviews…