CVE-2026-6042 is an algorithmic-complexity denial-of-service vulnerability in musl libc affecting the GB18030 4-byte decoding logic in iconv(), implemented in src/locale/iconv.c. In affected versions, the decoder's gap-skipping logic repeatedly performs linear scans of the GB18030 mapping table while processing certain crafted 4-byte sequences. For inputs whose computed linear index falls near specific sparse regions of the mapping space, the decoder can iterate tens of thousands of times and perform roughly 500 million comparisons for a single input character. This creates extreme CPU consumption during character-set conversion. Reported affected versions are musl 0.8.0 through 1.2.6. The upstream fix replaces the expensive iterative lookup behavior with a more efficient mapping approach using a dedicated lookup table.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
Repository is a compact proof-of-concept for CVE-2026-6042, an algorithmic complexity denial-of-service issue in musl libc's iconv implementation when decoding GB18030 4-byte sequences. It contains: (1) poc_gb18030_dos.c, a standalone local timing PoC that repeatedly feeds crafted GB18030 sequences into iconv("UTF-8", "GB18030") and measures elapsed time; (2) server.c, a minimal single-threaded HTTP server listening on port 8080 that accepts POST bodies, extracts charset from Content-Type, and transcodes request bodies to UTF-8 via iconv(), thereby simulating a realistic remotely reachable attack surface; (3) test.sh, an end-to-end harness that generates benign and adversarial payload files under /tmp and POSTs them to the server with curl while measuring wall-clock time; and (4) a Dockerfile that builds the vulnerable demo server on Alpine/musl. Main exploit capability: denial of service through CPU exhaustion, not code execution. The exploit input is a small crafted GB18030 byte sequence, especially 0x82 0x35 0x8F 0x33, repeated multiple times. The PoC demonstrates that benign sequence 0x81 0x30 0x81 0x30 decodes quickly, while adversarial sequences cause iconv() to spend disproportionate time in the GB18030 mapping logic. README and code comments also note a similar pattern in EUC-KR handling, but the implemented exploit path and test harness focus on GB18030. Network exposure is straightforward: POST requests to the demo HTTP service at / on port 8080 with Content-Type including charset=gb18030 and a crafted binary body. Successful exploitation yields delayed responses and high CPU usage; the server reports timing in the X-Transcode-Time header and response body. This is a real PoC exploit for DoS validation rather than a mere detector, but it remains proof-of-concept maturity because it demonstrates the condition rather than packaging a generalized offensive framework or customizable payload system.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A security vulnerability in musl libc for which upstream fixes were backported; no further details are provided in the content.
A vulnerability in musl addressed by backported patches in OpenWrt 25.12.5.
A musl libc algorithmic-complexity denial-of-service vulnerability in iconv.
A specific vulnerability in musl addressed in Alpine Linux stable releases 3.20.10, 3.21.7, 3.22.4, and 3.23.4.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.