Bug 2521130 - CVE-2025-67873 rust: Capstone: Heap buffer overflow via skipdata callback allows denial of service or arbitrary code execution. [fedora-43]
Summary: CVE-2025-67873 rust: Capstone: Heap buffer overflow via skipdata callback all...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rust
Version: 43
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["90e919ed-5d1b-42ff-b8d6-6...
Depends On:
Blocks: CVE-2025-67873
TreeView+ depends on / blocked
 
Reported: 2026-08-21 19:29 UTC by Praise Ogwuche
Modified: 2026-08-21 21:29 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-21 21:29:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Praise Ogwuche 2026-08-21 19:29:18 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, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue.

Comment 1 Josh Stone 2026-08-21 21:29:53 UTC
Capstone is only used by the miri tool, which we do not build or ship in any way. We even delete the bundled capstone sources in %prep.


Note You need to log in before you can comment on or make changes to this bug.