Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-2705 EUVD-2026-7561GHSA-3f56-w4g2-mx64GHSA-4w5w-4fhm-q483PYSEC-2026-2770

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

Published Feb 19, 2026 · Updated Mar 3, 2026 · Assigned by VulDB

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 products

VendorProductAffectedFixed
— Open Babel 3.1.0, 3.1.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openbabel 3.2.0+dfsg-1 —
Debian 13 openbabel No fix yet —
Debian 12 openbabel No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openbabel No fix yet —
Ubuntu 26.04 LTS openbabel No fix yet —
Ubuntu 25.10 openbabel No fix yet —
Ubuntu 24.04 LTS openbabel No fix yet —
Ubuntu 22.04 LTS openbabel No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS openbabel No fix yet —
Ubuntu 18.04 LTS openbabel No fix yet —
Ubuntu 16.04 LTS openbabel No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openbabel 3.2.0-1.1 openSUSE-SU-2026:10936-1
openSUSE Leap 16.0 openbabel 3.2.0-bp160.1.1 openSUSE-SU-2026:21190-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI openbabel < 3.2.0 3.2.0 GHSA-4w5w-4fhm-q483

Advisories 2

References