CVE-2025-68114: Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow

Published Dec 17, 2025
·
Updated

Capstone doesn't check vsnprintf return in SStreamconcat, allows stack buffer underflow and overflow

Other sources

Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, an unchecked vsnprintf return in SStreamconcat lets a malicious csoptmem.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.

MITRE

Affected Software

10 affected componentsFixes available
github/capstone<6.0.0-Alpha5
Microsoft cbl2 qemu 6.2.0-26
Capstone-engine Capstone<6.0.0
Capstone-engine Capstone=6.0.0-alpha1
Capstone-engine Capstone=6.0.0-alpha2
Capstone-engine Capstone=6.0.0-alpha3
Capstone-engine Capstone=6.0.0-alpha4
Capstone-engine Capstone=6.0.0-alpha5
Microsoft azl3 rust 1.90.0-4
Microsoft azl3 rust 1.90.0-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Capstone to a version that resolves this vulnerability.

    Patch 2c7797182a1618be12017d7d41e0b6581d5d529e

Event History

Dec 17, 2025
CVE Published
via MITRE·09:14 PM
Data Sourced
via MITRE·09:14 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 21, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·09:02 AM
DescriptionSeverity
Updated
via Microsoft·09:02 AM
SeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68114?

The severity of CVE-2025-68114 is considered high due to the potential for stack buffer underflow/overflow.

2

How do I fix CVE-2025-68114?

To fix CVE-2025-68114, upgrade to version 6.0.0-Alpha6 or later of the Capstone disassembly framework.

3

What systems are affected by CVE-2025-68114?

CVE-2025-68114 affects all versions of Capstone from 6.0.0-Alpha5 and earlier.

4

What type of vulnerability is CVE-2025-68114?

CVE-2025-68114 is classified as a stack buffer underflow/overflow vulnerability.

5

Can CVE-2025-68114 be exploited remotely?

Yes, CVE-2025-68114 can potentially be exploited remotely if an attacker can manipulate the input to the affected functions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2025-68114 - Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow - SecAlerts