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).
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Deferred"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40200",
"id": "CVE-2026-40200",
"imported": "2026-12-01T17:29:36.845Z",
"modified": "2026-06-17T10:44:51.887Z",
"published": "2026-04-10T17:17:14.107Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-40200"
},
{
"affected": {
"musl-libc:musl": [
"0.7.10 ≤1.2.6"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-21496",
"id": "EUVD-2026-21496",
"imported": "2026-12-01T17:29:35.182Z",
"modified": "2026-04-14T14:32:24Z",
"published": "2026-04-10T00:00:00Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-21496"
}
]
}