Vulnerability · Published Apr 10, 2026 · Assigned by VulDB
CVE-2026-6042musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity
Low 3.3
In plain English
A low-severity security flaw in libc from musl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | musl | 1.2.5-r2 | ALPINE-CVE-2026-6042 |
| Alpine:v3.21 | musl | 1.2.5-r10 | ALPINE-CVE-2026-6042 |
| Alpine:v3.22 | musl | 1.2.5-r11 | ALPINE-CVE-2026-6042 |
| Alpine:v3.23 | musl | 1.2.5-r22 | ALPINE-CVE-2026-6042 |
| Alpine:v3.24 | musl | 1.2.6-r1 | ALPINE-CVE-2026-6042 |
| Debian:12 | musl | no fix listed | DEBIAN-CVE-2026-6042 |
| Debian:13 | musl | 1.2.5-3.1~deb13u1 | DEBIAN-CVE-2026-6042 |
| Debian:14 | musl | 1.2.5-3.1 | DEBIAN-CVE-2026-6042 |
| Ubuntu:22.04:LTS | musl | no fix listed | UBUNTU-CVE-2026-6042 |
| Ubuntu:24.04:LTS | musl | no fix listed | UBUNTU-CVE-2026-6042 |
| Ubuntu:25.10 | musl | no fix listed | UBUNTU-CVE-2026-6042 |
| Ubuntu:26.04:LTS | musl | no fix listed | UBUNTU-CVE-2026-6042 |
| Ubuntu:26.10 | musl | no fix listed | UBUNTU-CVE-2026-6042 |
Affected products (as reported)
Weakness: CWE-407, CWE-404 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
References
- VDB-356620 | musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity vdb-entry, technical-description
- 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
- https://www.openwall.com/lists/oss-security/2026/04/02/10 related
- https://www.openwall.com/lists/oss-security/2026/04/03/2 patch
- http://www.openwall.com/lists/oss-security/2026/04/09/19