Skip to content
OpenAdvisories
Low · 3.3 Public exploit CVE-2026-6042

musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity

Published Apr 10, 2026 · Updated Apr 10, 2026 · Assigned by VulDB

Description

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.

Affected products

VendorProductAffectedFixed
musl libc 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 musl 1.2.5-3.1 —
Debian 13 musl 1.2.5-3.1~deb13u1 —
Debian 12 musl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 musl No fix yet —
Ubuntu 26.04 LTS musl No fix yet —
Ubuntu 25.10 musl No fix yet —
Ubuntu 24.04 LTS musl No fix yet —
Ubuntu 22.04 LTS musl No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS musl No fix yet —
Ubuntu Pro 18.04 LTS musl No fix yet —
Ubuntu Pro 16.04 LTS musl No fix yet —
Ubuntu Pro 14.04 LTS musl No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 musl 1.2.6-r1 —
Alpine v3.23 musl 1.2.5-r22 —
Alpine v3.22 musl 1.2.5-r11 —
Alpine v3.21 musl 1.2.5-r10 —
Alpine v3.20 musl 1.2.5-r2 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 musl 1.2.4_git20230717-r6 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • jensnesten/CVE-2026-6042-PoC ★ 0 · Apr 14, 2026

    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

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References