Home / musl-libc / musl / CVE-2026-40200
CVE-2026-40200: is it exploited, and which versions of musl-libc musl are affected and fixed?
CVE-2026-40200 is an always-incorrect control flow vulnerability in musl-libc musl. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: musl from 0.7.10 through 1.2.6 (CVE record by mitre). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.1, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is 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 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).
From the CVE record by mitre, last updated April 14, 2026, 14:32 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| musl-libc | musl | from 0.7.10 through 1.2.6 |
As the CVE record by mitre states it, last updated April 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-40200?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40200 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 14, 2026)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-670 Always-Incorrect Control Flow Implementation
Where are the vendor advisories and references?
- https://musl.libc.org/releases.html
- https://www.openwall.com/lists/oss-security/2026/04/10/13
- http://www.openwall.com/lists/oss-security/2026/04/10/13
When was it published, and where is the official record?
- Reserved
- April 10, 2026
- Published
- April 10, 2026, 00:00 UTC
- CVE record updated
- April 14, 2026, 14:32 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 10:44 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect musl?
- Nov 5, 2026CVE-2026-107891 musl -libc musl: integer overflow
- Feb 14, 2025CVE-2025-26519 musl-libc musl: out-of-bounds write (memory corruption)
- Nov 24, 2020CVE-2020-28928 Musl-libc Musl: out-of-bounds write (memory corruption)
- Aug 6, 2019CVE-2019-14697 Musl-libc Musl: out-of-bounds write (memory corruption)
- Oct 19, 2017CVE-2017-15650 Musl-libc Musl: memory corruption (buffer overflow)
- Aug 18, 2017CVE-2015-1817 Musl-libc Musl: memory corruption (buffer overflow)
Questions about CVE-2026-40200
Is CVE-2026-40200 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of musl-libc musl are affected by CVE-2026-40200?
musl from 0.7.10 through 1.2.6, per the CVE record by mitre. The tables above give every range the sources list.
Which version fixes CVE-2026-40200?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-40200?
High (8.1, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40200?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.