An issue was discovered in musl libc 0.7.10 through 1.2.6.
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40200
- 2026-10-03 Alias added: GHSA-qrwv-475h-2439
References
More musl-libc vulnerabilities
- TI-2019-10919 musl libc through 1.1.23 has an x87 floating-point stack adjustment imbalance, related to… CVSS 3.1CRITICAL 9.8
- TI-2015-01634 Stack-based buffer overflow in the inet_pton function in network/inet_pton.c in musl libc… CVSS 3.0CRITICAL 9.8
- TI-2014-02811 Out-of-bounds write in musl libc CVSS 3.1CRITICAL 9.8
- TI-2025-19457 Out-of-bounds write in musl-libc musl CVSS 3.1HIGH 8.1
- TI-2017-11441 musl libc before 1.1.17 has a buffer overflow via crafted DNS replies because… CVSS 3.0HIGH 7.5
- TI-2026-85465 Integer overflows in musl libc regcomp allow heap out-of-bounds writes CVSS 3.1HIGH 8.1
Sources
- CVE-2026-40200 · CVE Program
- CVE-2026-40200 · NVD
- FIRST EPSS
- GHSA-qrwv-475h-2439 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40200 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences