GHSA-fg6r-xgp8-x64r: Duplicate Advisory Open Babel Has A NULL Vulnerability

LOW
CVSS 4.3
CWE-404 CWE-787
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-fg6r-xgp8-x64r
Severity LOW
CVSS v3.1 Base Score 4.3
CWE Classification CWE-404: Improper Resource Shutdown or Release
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (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.

openbabel fixed: 3.2.0
pip install openbabel>=3.2.0
Verify Direct and Transitive Dependencies

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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-rxpr-wq63-jr7p. This link is maintained to preserve external references. ## Original Description A 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.

GHSA-fg6r-xgp8-x64r Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
3.2.0
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?
GHSA-fg6r-xgp8-x64r is a security vulnerability in Duplicate Advisory involving Open Babel has a NULL pointer dereference in CDXML OBAtom::GetExplicitValence under CWE-404: Improper Resource Shutdown or Release.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 3.2.0 across affected packages: openbabel.
What version fixes GHSA-fg6r-xgp8-x64r?
Upgrading to 3.2.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openbabel affected?
Yes, openbabel is affected in releases prior to 3.2.0. Upgrade your dependency to 3.2.0 or later.
What is the CVSS score of GHSA-fg6r-xgp8-x64r?
GHSA-fg6r-xgp8-x64r has a CVSS v3.1 base score of 4.3 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
What CWE is associated with GHSA-fg6r-xgp8-x64r?
GHSA-fg6r-xgp8-x64r is classified under CWE-404: Improper Resource Shutdown or Release (The product does not release or incorrectly releases a resource before it is made available for re-use.).
How can I check PyPI dependencies for GHSA-fg6r-xgp8-x64r?
Run the dependency tree command: 'pip show openbabel'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}