Open Babel through 3.2.1 contains a use-after-free vulnerability in OBForceField::Setup() that leaves stored constraints bound to freed atoms when set up with an empty molecule. Attackers can supply a molecule file yielding an empty molecule so later SteepestDescent() or ConjugateGradients() calls read freed memory, causing crashes or incorrect results.

Project Subscriptions

Vendors Products
Openbabel Subscribe
Open Babel Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 25 Nov 2026 15:00:00 +0000

Type Values Removed Values Added
Description Open Babel through 3.2.1 contains a use-after-free vulnerability in OBForceField::Setup() that leaves stored constraints bound to freed atoms when set up with an empty molecule. Attackers can supply a molecule file yielding an empty molecule so later SteepestDescent() or ConjugateGradients() calls read freed memory, causing crashes or incorrect results.
Title Open Babel through 3.2.1 Use-After-Free in OBForceField::Setup with Empty Molecule
First Time appeared Openbabel
Openbabel open Babel
Weaknesses CWE-416
CPEs cpe:2.3:a:openbabel:open_babel:*:*:*:*:*:*:*:*
Vendors & Products Openbabel
Openbabel open Babel
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 5.8, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-25T18:13:49.293Z

Reserved: 2026-11-25T14:25:11.801Z

Link: CVE-2026-136903

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses