GHSA-fg6r-xgp8-x64r: Duplicate Advisory Open Babel Has A NULL Vulnerability
LOWGHSA-fg6r-xgp8-x64r is a LOW (CVSS 4.3) open babel has a null vulnerability (CWE-404: Improper Resource Shutdown or Release) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves open babel has a null pointer dereference in cdxml obatom::getexplicitvalence. Remediation is available by upgrading affected packages to version 3.2.0.
GHSA-fg6r-xgp8-x64r at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L).
How to Fix GHSA-fg6r-xgp8-x64r
To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install openbabel>=3.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show openbabel
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-fg6r-xgp8-x64r, inspect your installed packages using pip:
pip show openbabel
Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.0), your application is affected.
Note: The pip show openbabel command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-404: Improper Resource Shutdown or Release, where the product does not release or incorrectly releases a resource before it is made available for re-use. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-fg6r-xgp8-x64r Affected Duplicate Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
openbabel
|
PyPI |
< 3.2.0
|
3.2.0
|
References
Frequently Asked Questions
What is GHSA-fg6r-xgp8-x64r?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-fg6r-xgp8-x64r?
Is openbabel affected?
What is the CVSS score of GHSA-fg6r-xgp8-x64r?
What CWE is associated with GHSA-fg6r-xgp8-x64r?
How can I check PyPI dependencies for GHSA-fg6r-xgp8-x64r?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fg6r-xgp8-x64r",
"modified" : "2026-06-30T18:47:21Z",
"published" : "2026-03-02T06:32:01Z",
"withdrawn" : "2026-06-30T18:47:21Z",
"aliases" : [ ],
"summary" : "Duplicate Advisory: Open Babel has a NULL pointer dereference in CDXML OBAtom::GetExplicitValence",
"details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-rxpr-wq63-jr7p. This link is maintained to preserve external references.\n\n## Original Description\nA vulnerability was identified in Open Babel up to 3.1.1. This impacts the function OBAtom::GetExplicitValence of the file isrc/atom.cpp of the component CDXML File Handler. Such manipulation leads to null pointer dereference. The attack can be launched remotely. The exploit is publicly available and might be used. The name of the patch is e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a. It is best practice to apply a patch to resolve this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "openbabel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-3408"
}, {
"type" : "WEB",
"url" : "https://github.com/openbabel/openbabel/issues/2848"
}, {
"type" : "WEB",
"url" : "https://github.com/openbabel/openbabel/pull/2862"
}, {
"type" : "WEB",
"url" : "https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a"
}, {
"type" : "WEB",
"url" : "https://github.com/oneafter/0128/blob/main/ob3/repro.cdxml"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.348303"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.348303"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?submit.763756"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-404", "CWE-787" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-30T18:47:21Z",
"nvd_published_at" : "2026-03-02T04:16:06Z"
}
}