Skip to main content
VulnerabilityPublished Updated

Openbabel: Duplicate Advisory: Open Babel has NULL pointer dereference in MOL2 OBAtom::SetFormalCharge

Affects openbabelSource GCVE Database

0
Severity
Low

Rated 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:X

Data as of 30 Jun 2026, 23:46 UTC

What to do

Upgrade openbabel to 3.2.0.

Affected software

ProductAffectedFixed in
PyPIopenbabelAffected
  • <3.2.0
Fixed in
  • 3.2.0

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

Community reviews

Loading reviews…