
CVE catalog
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 i
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.24% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | musl | sid | 1.2.6-1 | fixed |
| Debian | musl | forky | 1.2.6-1 | fixed |
| Debian | musl | trixie | 1.2.5-3.1~deb13u1 | fixed |
| Debian | musl | bookworm | 1.2.3-1 | vulnerable |
| Cpe | musl | Not reported | Not reported | vulnerable |
| Alpine | musl | 3.19 | 1.2.4_git20230717-r6 | fixed |
| Alpine | musl | 3.20 | 1.2.5-r2 | fixed |
| Alpine | musl | 3.21 | 1.2.5-r10 | fixed |
| Alpine | musl | 3.22 | 1.2.5-r11 | fixed |
| Alpine | musl | 3.23 | 1.2.5-r22 | fixed |
| Alpine | musl | 3.24 | 1.2.6-r1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | musl | source | sid | 1.2.5-3.1 | not yet assigned | Not reported | [1133372] |
| Debian | musl | source | forky | 1.2.5-3.1 | not yet assigned | Not reported | [1133372] |
| Debian | musl | source | trixie | 1.2.5-3.1~deb13u1 | not yet assigned | Not reported | [1133372] |
| Debian | musl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1133372] |
| Alpine | musl | apk | 3.19 | 1.2.4_git20230717-r6 | Not reported | ALPINE-CVE-2026-6042 | Not reported |
| Alpine | musl | apk | 3.20 | 1.2.5-r2 | Not reported | ALPINE-CVE-2026-6042 | Not reported |
| Alpine | musl | apk | 3.21 | 1.2.5-r10 | Not reported | ALPINE-CVE-2026-6042 | Not reported |
| Alpine | musl | apk | 3.22 | 1.2.5-r11 | Not reported | ALPINE-CVE-2026-6042 | Not reported |
| Alpine | musl | apk | 3.23 | 1.2.5-r22 | Not reported | ALPINE-CVE-2026-6042 | Not reported |
| Alpine | musl | apk | 3.24 | 1.2.6-r1 | Not reported | ALPINE-CVE-2026-6042 | Not reported |
Notes
[bookworm] musl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [musl]Affected
Details (2)
1.2.3-1· amd64 · bookwormAffected
nvd · musl · debian · bookworm; nvd · musl · debian · 12
1.2.3-1· arm64 · bookwormAffected
nvd · musl · debian · bookworm; nvd · musl · debian · 12
- [musl-dev]Affected
Source package: [musl]
Details (2)
1.2.3-1· amd64 · bookwormAffected
nvd · musl · debian · bookworm; nvd · musl · debian · 12
1.2.3-1· arm64 · bookwormAffected
nvd · musl · debian · bookworm; nvd · musl · debian · 12
- [musl-tools]Affected
Source package: [musl]
Details (2)
1.2.3-1· amd64 · bookwormAffected
nvd · musl · debian · bookworm; nvd · musl · debian · 12
1.2.3-1· arm64 · bookwormAffected
nvd · musl · debian · bookworm; nvd · musl · debian · 12
[Debian 13 (Trixie)]
- [musl]Fixed
Details (2)
1.2.5-3.1~deb13u1· amd64 · trixieFixed · Fixed:
1.2.5-3.1~deb13u1nvd · musl · debian · 13
1.2.5-3.1~deb13u1· arm64 · trixieFixed · Fixed:
1.2.5-3.1~deb13u1nvd · musl · debian · 13
- [musl-dev]Fixed
Source package: [musl]
Details (2)
1.2.5-3.1~deb13u1· amd64 · trixieFixed · Fixed:
1.2.5-3.1~deb13u1nvd · musl · debian · 13
1.2.5-3.1~deb13u1· arm64 · trixieFixed · Fixed:
1.2.5-3.1~deb13u1nvd · musl · debian · 13
- [musl-tools]Fixed
Source package: [musl]
Details (2)
1.2.5-3.1~deb13u1· amd64 · trixieFixed · Fixed:
1.2.5-3.1~deb13u1nvd · musl · debian · 13
1.2.5-3.1~deb13u1· arm64 · trixieFixed · Fixed:
1.2.5-3.1~deb13u1nvd · musl · debian · 13
Observed:
References
- [http://www.openwall.com/lists/oss-security/2026/04/09/19]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-6042]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-6042]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-6042]
- [https://security-tracker.debian.org/tracker/CVE-2026-6042]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6042.json]
- [https://vuldb.com/submit/796352]
- [https://vuldb.com/vuln/356620]
- [https://vuldb.com/vuln/356620/cti]
- [https://www.openwall.com/lists/oss-security/2026/04/02/10]
- [https://www.openwall.com/lists/oss-security/2026/04/03/2]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]