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

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianmuslsid1.2.6-1fixed
Debianmuslforky1.2.6-1fixed
Debianmusltrixie1.2.5-3.1~deb13u1fixed
Debianmuslbookworm1.2.3-1vulnerable
CpemuslNot reportedNot reportedvulnerable
Alpinemusl3.191.2.4_git20230717-r6fixed
Alpinemusl3.201.2.5-r2fixed
Alpinemusl3.211.2.5-r10fixed
Alpinemusl3.221.2.5-r11fixed
Alpinemusl3.231.2.5-r22fixed
Alpinemusl3.241.2.6-r1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmuslsourcesid1.2.5-3.1not yet assignedNot reported[1133372]
Debianmuslsourceforky1.2.5-3.1not yet assignedNot reported[1133372]
Debianmuslsourcetrixie1.2.5-3.1~deb13u1not yet assignedNot reported[1133372]
Debianmuslsourcebookworm(unfixed)not yet assignedNot reported[1133372]
Alpinemuslapk3.191.2.4_git20230717-r6Not reportedALPINE-CVE-2026-6042Not reported
Alpinemuslapk3.201.2.5-r2Not reportedALPINE-CVE-2026-6042Not reported
Alpinemuslapk3.211.2.5-r10Not reportedALPINE-CVE-2026-6042Not reported
Alpinemuslapk3.221.2.5-r11Not reportedALPINE-CVE-2026-6042Not reported
Alpinemuslapk3.231.2.5-r22Not reportedALPINE-CVE-2026-6042Not reported
Alpinemuslapk3.241.2.6-r1Not reportedALPINE-CVE-2026-6042Not reported

[Debian bug #1133372]

Notes

[bookworm] musl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [musl]Affected
    Details (2)
    • 1.2.3-1 · amd64 · bookworm

      Affected

      nvd · musl · debian · bookworm; nvd · musl · debian · 12

    • 1.2.3-1 · arm64 · bookworm

      Affected

      nvd · musl · debian · bookworm; nvd · musl · debian · 12

  • [musl-dev]Affected

    Source package: [musl]

    Details (2)
    • 1.2.3-1 · amd64 · bookworm

      Affected

      nvd · musl · debian · bookworm; nvd · musl · debian · 12

    • 1.2.3-1 · arm64 · bookworm

      Affected

      nvd · musl · debian · bookworm; nvd · musl · debian · 12

  • [musl-tools]Affected

    Source package: [musl]

    Details (2)
    • 1.2.3-1 · amd64 · bookworm

      Affected

      nvd · musl · debian · bookworm; nvd · musl · debian · 12

    • 1.2.3-1 · arm64 · bookworm

      Affected

      nvd · musl · debian · bookworm; nvd · musl · debian · 12

[Debian 13 (Trixie)]

  • [musl]Fixed
    Details (2)
    • 1.2.5-3.1~deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.2.5-3.1~deb13u1

      nvd · musl · debian · 13

    • 1.2.5-3.1~deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.2.5-3.1~deb13u1

      nvd · musl · debian · 13

  • [musl-dev]Fixed

    Source package: [musl]

    Details (2)
    • 1.2.5-3.1~deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.2.5-3.1~deb13u1

      nvd · musl · debian · 13

    • 1.2.5-3.1~deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.2.5-3.1~deb13u1

      nvd · musl · debian · 13

  • [musl-tools]Fixed

    Source package: [musl]

    Details (2)
    • 1.2.5-3.1~deb13u1 · amd64 · trixie

      Fixed · Fixed: 1.2.5-3.1~deb13u1

      nvd · musl · debian · 13

    • 1.2.5-3.1~deb13u1 · arm64 · trixie

      Fixed · Fixed: 1.2.5-3.1~deb13u1

      nvd · musl · debian · 13

Observed:

References