Vulnerability in Musl Libc
CVE-2026-6042
A security flaw has been discovered in musl libc up to 1.2.6. Affected is the function iconv of the file src/locale/iconv.c of the component GB18030 4-byte Decoder. Performing a manipulation results in inefficient algorithmic complexity. The attack must be initiated from a local position. To fix this issue, it is recommended to deploy a patch.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 15.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Musl Libc — versions 1.2.0, 1.2.1, 1.2.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- jensnesten/CVE-2026-6042-PoC (last pushed 2026-04-16): Proof of concept and end-to-end test of Algorithmic Complexity DoS in musl libc 0.8.0-1.2.6 assigned CVE-2026-6042
References
- VDB-356620 | musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity (technical-description, vdb-entry)
- VDB-356620 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #796352 | musl libc musl 0.8.0 - 1.2.6 Inefficient Algorithmic Complexity (third-party-advisory)
- www.openwall.com/lists/oss-security/2026/04/02/10 (related)
- www.openwall.com/lists/oss-security/2026/04/03/2 (patch)
- www.openwall.com/lists/oss-security/2026/04/09/19
This CVE has public exploit evidence. See the latest CVEs with public exploits.