fix(capstone): CVE-2025-67873, CVE-2025-68114#2
Merged
Conversation
Contributor
Author
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
TAG Bot TAG: 5.0.3-1deepin1 |
deepin-ci-robot
added a commit
that referenced
this pull request
May 27, 2026
The previous commit truncated changelog from 301 lines to 20 lines. This commit restores the complete changelog history while keeping the new CVE fix entry at the top. Upstream: #2 Generated-By: uos/glm-5.1 Co-Authored-By: hudeng <hudeng@deepin.org>
…underflow Fix two vulnerabilities in capstone disassembly framework: CVE-2025-67873: heap buffer overflow in skipdata handling CVE-2025-68114: stack buffer underflow/overflow in SStream_concat Upstream: capstone-engine/capstone@53f18b5 Upstream: capstone-engine/capstone@782b475 Generated-By: glm-5.1 Co-Authored-By: hudeng <hudeng@deepin.org>
093b803 to
6a95783
Compare
Contributor
|
/integrate |
|
AutoIntegrationPr Bot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CVE Security Fixes
This PR fixes the following security vulnerabilities:
CVE-2025-67873 (Medium)
Heap buffer overflow in skipdata handling
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.
CVE-2025-68114 (Medium)
Stack buffer underflow/overflow in SStream_concat
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.
Changes
Generated-By: glm-5.1