Bug 2521149

Summary: CVE-2025-68114 pe-bear: Capstone: Memory corruption via unchecked vsnprintf return [fedora-43]
Product: [Fedora] Fedora Reporter: Praise Ogwuche <pogwuche>
Component: pe-bearAssignee: Vitaly <vitaly>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 43CC: vitaly
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["18ccc59d-83a6-4a40-84de-34ab619140cc"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2423416    

Description Praise Ogwuche 2026-08-21 19:53:44 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, an unchecked vsnprintf return in SStream_concat lets a malicious cs_opt_mem.vsnprintf drive SStream’s index negative or past the end, leading to a stack buffer underflow/overflow when the next write occurs. Commit 2c7797182a1618be12017d7d41e0b6581d5d529e fixes the issue.