CVE-2026-40200: Musl-Libc Musl

High severity, CVSS 8.1. EPSS: 0.2% chance of exploitation in the next 30 days.

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).

Affected products

  • Musl-Libc Musl: from 0.7.10, up to and including 1.2.6

Published 2026-04-10. Last modified 2026-06-17.