# CVE-2022-42885: Open Babel has uninitialized pointer dereference in GRO residue parser

- Severity: Critical 9.8 (CVSS:3.1, scored by talos) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-21T20:25:40.259Z
- Modified: 2026-07-13T16:43:09.789Z
- Also known as: GHSA-mw5r-wq2m-397c, PYSEC-2026-2787
- Weaknesses: CWE-824
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: talos

## Description

A use of uninitialized pointer vulnerability exists in the GRO format res functionality of Open Babel 3.1.1 and master commit 530dbfa3. A specially crafted malformed file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.

(As written by CVE List.)

## Affected

- Open Babel Open Babel: 3.1.1; master commit 530dbfa3
- openbabel open_babel: 3.1.1
- openbabel (PyPI): before 3.2.0

## Every score

- talos: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2022-1668> (exploit, technical-description, third-party-advisory, web)
- <https://www.talosintelligence.com/vulnerability_reports/TALOS-2022-1668> (web)
- <https://github.com/openbabel/openbabel/security/advisories/GHSA-mw5r-wq2m-397c> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-42885> (advisory)
- <https://github.com/openbabel/openbabel/commit/fa9a2d9a2eb75154b7a884dfe679ff41a8f9c547> (web)
- <https://github.com/openbabel/openbabel> (package)
- <https://pypi.org/project/openbabel> (package)
- <https://github.com/advisories/GHSA-mw5r-wq2m-397c> (advisory)

## Sources

- CVE List: [CVE-2022-42885](https://www.cve.org/CVERecord?id=CVE-2022-42885), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-mw5r-wq2m-397c](https://github.com/advisories/GHSA-mw5r-wq2m-397c), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2022-42885](https://nvd.nist.gov/vuln/detail/CVE-2022-42885), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2787](https://osv.dev/vulnerability/PYSEC-2026-2787), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2022-42885 · Whole record: https://cve.day/CVE-2022-42885.json · Rebuilt by cve.day 2026-11-25T22:58:19.476Z
