CVE-2026-40200

State
Published
Severity
8.1 High
Published
Apr 10, 2026
Updated
Apr 14, 2026
Reserved
Apr 10, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:Hmitre

Weaknesses

  • CWE-670 Always-Incorrect Control Flow Implementation

Affected Products

ProductVersions
muslmusl-libc
  • 0.7.10 through 1.2.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.