CVE-2026-2705
LOW 2.1CVSS 4.0Open Babel has NULL pointer dereference in MOL2 OBAtom::SetFormalCharge
A vulnerability was detected in Open Babel up to 3.1.1. The impacted element is the function OBAtom::SetFormalCharge in the library include/openbabel/atom.h of the component MOL2 File Handler. The manipulation results in out-of-bounds read. It is possible to launch the attack remotely. The exploit is now public and may be used. The patch is identified as e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a. A patch should be applied to remediate this issue. The project was informed of the problem early through an issue report but has not responded yet.
- Published
- 19 Feb 2026
- Last modified
- 13 Jul 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-119CWE-476
- Also known as
- GHSA-4w5w-4fhm-q483PYSEC-2026-2770
- Sources
- NVDJSONOSV GHSA-4w5w-4fhm-q483JSONOSV PYSEC-2026-2770JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 2.1 | 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 |
| OSV | GitHub | CVSS 4.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 | |
| OSV | PyPA | CVSS 4.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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openbabel | open_babelcpe:2.3:a:openbabel:open_babel:*:*:*:*:*:*:*:* |
<= 3.1.1 | |
| OSV | PyPI | openbabel | < 3.2.0 | 3.2.0 |
References
- https://github.com/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a · WEB
- https://github.com/oneafter/0128/blob/main/ob2/repro.mol2 · Exploit, WEB
- https://github.com/openbabel/openbabel/issues/2848 · Exploit, Issue Tracking, WEB
- https://github.com/openbabel/openbabel/pull/2862 · WEB
- https://vuldb.com/?ctiid.346651 · Permissions Required, VDB Entry, WEB
- https://vuldb.com/?id.346651 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/?submit.754379 · Third Party Advisory, VDB Entry, WEB
- https://github.com/openbabel/openbabel/security/advisories/GHSA-4w5w-4fhm-q483 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2705 · ADVISORY
- https://github.com/openbabel/openbabel · PACKAGE
- https://pypi.org/project/openbabel · PACKAGE
- https://github.com/advisories/GHSA-4w5w-4fhm-q483 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 19 Feb 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Jun 2026)