CVSS 3.1
8.1 highCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HHigh (8.1) in musl-libc musl. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HExplain CVE-2026-40200 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40200?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40200?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40200 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| musl-libc musl | from 0.7.10 through 1.2.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | musl | no fix listed | DEBIAN-CVE-2026-40200 |
| Debian | 13 | musl | 1.2.5-3.1~deb13u1 | DEBIAN-CVE-2026-40200 |
| Debian | 14 | musl | 1.2.5-3.1 | DEBIAN-CVE-2026-40200 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 25.10 and 6 more | musl | no fix listed | UBUNTU-CVE-2026-40200 |
| Alpine | v3.19 | musl | 1.2.4_git20230717-r6 | ALPINE-CVE-2026-40200 |
| Alpine | v3.20 | musl | 1.2.5-r3 | ALPINE-CVE-2026-40200 |
| Alpine | v3.21 | musl | 1.2.5-r11 | ALPINE-CVE-2026-40200 |
| Alpine | v3.22 | musl | 1.2.5-r12 | ALPINE-CVE-2026-40200 |
| Alpine | v3.23 | musl | 1.2.5-r23 | ALPINE-CVE-2026-40200 |
| Alpine | v3.24 | musl | 1.2.6-r2 | ALPINE-CVE-2026-40200 |
| Alpaquita | 23 | musl-default | 1.2.4-r14 | BELL-CVE-2026-40200 |
| Alpaquita | 23 | musl-perf | 1.2.4-r10 | BELL-CVE-2026-40200 |
| Alpaquita | 25 | musl-default | 1.2.5-r15 | BELL-CVE-2026-40200 |
| Alpaquita | 25 | musl-perf | 1.2.5-r16 | BELL-CVE-2026-40200 |
| Alpaquita | stream | musl-perf, musl-default | 1.2.6-r2 | BELL-CVE-2026-40200 |
| BellSoft Hardened Containers | 23 | musl-default | 1.2.4-r14 | BELL-CVE-2026-40200 |
| BellSoft Hardened Containers | 23 | musl-perf | 1.2.4-r10 | BELL-CVE-2026-40200 |
| BellSoft Hardened Containers | 25 | musl-default | 1.2.5-r15 | BELL-CVE-2026-40200 |
| BellSoft Hardened Containers | 25 | musl-perf | 1.2.5-r16 | BELL-CVE-2026-40200 |
| BellSoft Hardened Containers | stream | musl-perf, musl-default | 1.2.6-r2 | BELL-CVE-2026-40200 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Important.
AN IMPORTANT stack-based memory corruption flaw in musl libc's `qsort` function could lead to arbitrary code execution or denial of service. This vulnerability requires a local attacker to provide an extremely large, specially crafted array, exceeding millions of elements, making practical exploitation highly improbable in typical Red Hat environments.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40200.