{"id":"DEBIAN-CVE-2026-40200","details":"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).","modified":"2026-09-14T17:03:10.988326652Z","published":"2026-04-10T17:17:14.107Z","upstream":["CVE-2026-40200"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-40200"}],"affected":[{"package":{"name":"musl","ecosystem":"Debian:12","purl":"pkg:deb/debian/musl?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3-1","1.2.4-1","1.2.4-2","1.2.5-1","1.2.5-1.1","1.2.5-2","1.2.5-3","1.2.5-3.1","1.2.5-3.1~deb13u1","1.2.6-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40200.json"}},{"package":{"name":"musl","ecosystem":"Debian:13","purl":"pkg:deb/debian/musl?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-3.1~deb13u1"}]}],"versions":["1.2.5-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40200.json"}},{"package":{"name":"musl","ecosystem":"Debian:14","purl":"pkg:deb/debian/musl?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-3.1"}]}],"versions":["1.2.5-3","1.2.5-3.1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40200.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}