提交 #654057: Open Babel 3.1.1 / master commit 889c350 Use After Free信息

标题Open Babel 3.1.1 / master commit 889c350 Use After Free
描述Open Babel version 3.1.1 (and the latest development branch, commit 889c350) is vulnerable to a heap-use-after-free in the GAMESSOutputFormat::ReadMolecule function. When parsing crafted GAMESS output files, the parser calls OpenBabel::tokenize to split input lines into tokens and then converts one token into an integer using atoi. However, the token string buffer is freed when the token vector is cleared, leaving atoi/strtol with a dangling pointer. This results in a use-after-free and can lead to memory corruption and potential code execution if exploited with a malicious input file. The vulnerability is triggered during file conversion with the fuzz target fuzz_convert but affects the core library functions used in normal conversions as well.
来源⚠️ https://github.com/openbabel/openbabel/issues/2834
用户 ahuo (UID 90189)
提交2025-09-14 09時57分 (1 年前)
管理2025-09-25 20時05分 (11 days later)
状态已接受
VulDB条目325922 [Open Babel 直到 3.1.1 gamessformat.cpp ReadMolecule 内存损坏]
积分20

Do you know our Splunk app?

Download it now for free!