{"schemaVersion":3,"id":"CVE-2026-40200","aliases":["ALPINE-CVE-2026-40200","UBUNTU-CVE-2026-40200","DEBIAN-CVE-2026-40200"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2026-04-10T00:00:00.000Z","modified":"2026-04-14T14:32:24.901Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":3.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":3.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":3.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00171,"percentile":0.06174,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.004999999999999991,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00166},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00171,"percentile":0.06174}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00166,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00171,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00171,"percentile":0.06174}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation","description":"The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/670.html"}],"affected":[{"vendor":"alpine","product":"musl","name":"musl","label":"musl","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/musl","purlType":"apk","versions":[{"text":"< 1.2.4_git20230717-r6","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.5-r3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.5-r11","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.5-r12","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.5-r23","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.6-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.4_git20230717-r6 | < 1.2.5-r3 | < 1.2.5-r11 | < 1.2.5-r12 | < 1.2.5-r23 | < 1.2.6-r2","eol":null,"hubHref":null},{"vendor":"debian","product":"musl","name":"musl","label":"musl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/musl","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.2.5-3.1~deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.5-3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.2.5-3.1~deb13u1 | < 1.2.5-3.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"musl","name":"musl","label":"musl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/musl","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"musl-libc","product":"musl","name":"musl","label":"musl","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.7.10, ≤ 1.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.7.10, ≤ 1.2.6","eol":null,"hubHref":"/vendor/musl-libc/musl"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://musl.libc.org/releases.html","label":"musl.libc.org/releases.html","hostname":"musl.libc.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/04/10/13","label":"www.openwall.com/lists/oss-security/2026/04/10/13","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/10/13","label":"www.openwall.com/lists/oss-security/2026/04/10/13","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-40200","label":"security.alpinelinux.org/vuln/CVE-2026-40200","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-40200","label":"ubuntu.com/security/CVE-2026-40200","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40200","label":"www.cve.org/CVERecord?id=CVE-2026-40200","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40200","label":"security-tracker.debian.org/tracker/CVE-2026-40200","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-10T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-14T14:32:24.901Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T07:59:57.798Z","stale":false,"partial":false}}