Vulnerability · Published Feb 19, 2026 · Assigned by VulDB

CVE-2026-2705Open Babel MOL2 File atom.h SetFormalCharge out-of-bounds

Medium 4.3

In plain English

A medium-severity out-of-bounds read in Open Babel. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.8%top 42.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12openbabelno fix listedDEBIAN-CVE-2026-2705
Debian:13openbabelno fix listedDEBIAN-CVE-2026-2705
Debian:14openbabel3.2.0+dfsg-1DEBIAN-CVE-2026-2705
PyPIopenbabel3.2.0GHSA-4w5w-4fhm-q483
PyPIopenbabel3.2.0PYSEC-2026-2770
Ubuntu:22.04:LTSopenbabelno fix listedUBUNTU-CVE-2026-2705
Ubuntu:24.04:LTSopenbabelno fix listedUBUNTU-CVE-2026-2705
Ubuntu:25.10openbabelno fix listedUBUNTU-CVE-2026-2705
Ubuntu:26.04:LTSopenbabelno fix listedUBUNTU-CVE-2026-2705
Ubuntu:26.10openbabelno fix listedUBUNTU-CVE-2026-2705

Affected products (as reported)

VendorProductVersions
n/a Open Babel 3.1.03.1.1

Weakness: CWE-125, CWE-119 · Vector: 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

References