🛡️ CVE-2026-40200 on Debian — musl
Description
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).
Distribution advisory
This page covers CVE-2026-40200 as tracked by Debian, for the package musl. The fix is available in version 1.2.5-3.1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
DEBIAN-CVE-2026-40200 is classified as CWE-670: Always-Incorrect Control Flow Implementation. The control flow does not do what the logic intends, so a check never has the effect it appears to have.
Affected software
DEBIAN-CVE-2026-40200 is recorded against 1 package.
- musl (fixed in 1.2.5-3.1)
Timeline and source
Published on 10 April 2026 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2026-40200 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| musl | — | 1.2.5-3.1 |
References
Similar Threats
- High ROOT-OS-ALPINE-315-CVE-2025-26519
- High ROOT-OS-ALPINE-315-CVE-2026-40200
- High OESA-2026-2178
- High OESA-2026-2087
- High OESA-2026-2088
Site Security Check
Is musl part of your stack?
DEBIAN-CVE-2026-40200 is rated CVSS 8.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.