Memory corruption via invalid EUC-KR decoding
Published Feb 14, 2025 · Updated Feb 14, 2025
Out-of-bounds writing in musl iconv 0.9.13 through 1.2.5 allows attackers to corrupt memory via untrusted EUC-KR text. The EUC-KR decoder accepts invalid trailing bytes and can emit values outside the Unicode scalar range, while the UTF-8 encoder trusts that range invariant and writes an oversized sequence past the destination buffer. Exposure requires an application to select EUC-KR from attacker-controlled metadata, request UTF-8 output, and process attacker-supplied content, resulting in memory corruption within that application.
Summary
What happened
Out-of-bounds writing in musl iconv 0.9.13 through 1.2.5 allows attackers to corrupt memory via untrusted EUC-KR text. The EUC-KR decoder accepts invalid trailing bytes and can emit values outside the Unicode scalar range, while the UTF-8 encoder trusts that range invariant and writes an oversized sequence past the destination buffer. Exposure requires an application to select EUC-KR from attacker-controlled metadata, request UTF-8 output, and process attacker-supplied content, resulting in memory corruption within that application.
The record
- CVE
- CVE-2025-26519
- Published
- Feb 14, 2025
- Updated
- Feb 14, 2025
- Vendor
- musl
- Product
- musl
- Classifications
- CWE-787
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Feb 14, 2025CVE publishedPublication date reported by the CVE source.
- Feb 14, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.9.13 <1.2.6
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo