Openbabel: Duplicate Advisory: Open Babel has a NULL pointer dereference in CDXML OBAtom::GetExplicitValence
Affects openbabelSource GCVE Database
CVSS 4.3 Medium : upgrade to 3.2.0 when convenient.
Data as of 30 Jun 2026, 23:46 UTC
- Patch
- Available – fixed in 3.2.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LWhat 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
A patch is available for this vulnerability (commit e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a). It is recommended to update Open Babel to version 3.2.0 or later where this issue is resolved. No other mitigations are specified.
Description
A vulnerability in Open Babel up to version 3.1.1 affects the CDXML file handler component, specifically the OBAtom::GetExplicitValence function. This issue leads to a null pointer dereference, which can be triggered remotely. The advisory is a duplicate and has been withdrawn in favor of another reference. A patch is available and it is recommended to apply it to resolve the issue.
References
- nvd.nist.gov/vuln/detail/CVE-2026-3408 (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/ob3/repro.cdxml (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)