CVE catalog

CVE-2026-40200

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number

[CVE catalog]

Severity
High · CVSS 8.1
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

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-r3fixed
Alpinemusl3.211.2.5-r11fixed
Alpinemusl3.221.2.5-r12fixed
Alpinemusl3.231.2.5-r23fixed
Alpinemusl3.241.2.6-r2fixed

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-40200Not reported
Alpinemuslapk3.201.2.5-r3Not reportedALPINE-CVE-2026-40200Not reported
Alpinemuslapk3.211.2.5-r11Not reportedALPINE-CVE-2026-40200Not reported
Alpinemuslapk3.221.2.5-r12Not reportedALPINE-CVE-2026-40200Not reported
Alpinemuslapk3.231.2.5-r23Not reportedALPINE-CVE-2026-40200Not reported
Alpinemuslapk3.241.2.6-r2Not reportedALPINE-CVE-2026-40200Not 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