CVE-2026-2705 json
Open Babel MOL2 File atom.h SetFormalCharge out-of-bounds
published 2026-02-19 8 mo ago modified 2026-07-13 3 mo ago also GHSA-4w5w-4fhm-q483 , PYSEC-2026-2770 , EUVD-2026-7561
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi openbabel 3.2.0
- openbabel Debian 14 3.2.0+dfsg-1
debian advisories DEBIAN-CVE-2026-2705
- openbabel openSUSE Leap 16.0 3.2.0-bp160.1.1
- openbabel openSUSE Tumbleweed 3.2.0-1.1
opensuse advisories openSUSE-SU-2026:21190-1openSUSE-SU-2026:10936-1
- github.com/VedantMadane/openbabel@e23a224 commit
- github.com/openbabel/openbabel#2862 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-2705 updated cvss 6.5
openbabel: NULL pointer dereference when parsing a malformed MOL2 file
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.84% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/oneafter/0128/blob/main/ob2/repro.mol2 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/openbabel/openbabel/issues/2848 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | 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 |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| CNA | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C |
| CNA | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C |
| CNA | 4.0 | 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 |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| CNA | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | openbabel | <3.2.0 |
3.2.0 |
Affected products
- n/a Open Babel
Classification
References
-
github.com
/openbabel/openbabel/pull/2862
issue-tracking, patch, web
-
github.com
/VedantMadane/openbabel/commit/e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a
patch, web
-
github.com
/oneafter/0128/blob/main/ob2/repro.mol2
exploit, web
-
github.com
/openbabel/openbabel/issues/2848
issue-tracking, web, exploit
-
vuldb.com
/?id.346651
vdb-entry, technical-description, web, third-party-advisory
-
vuldb.com
/?ctiid.346651
signature, permissions-required, web, vdb-entry
-
vuldb.com
/?submit.754379
third-party-advisory, web, vdb-entry
-
github.com
/openbabel/openbabel/security/advisories/GHSA-4w5w-4fhm-q483
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-2705
advisory
-
github.com
/openbabel/openbabel
package
-
pypi.org
/project/openbabel
package
-
github.com
/advisories/GHSA-4w5w-4fhm-q483
advisory
Sources
- CVE List CVE-2026-2705
- GitHub Advisory GHSA-4w5w-4fhm-q483
- NVD CVE-2026-2705
- OSV PYSEC-2026-2770
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.