SecurityContext

CVE-2026-40200: musl libc - Buffer Overflow

  • Cve: CVE-2026-40200
  • Name: musl libc - Buffer Overflow
  • 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).
  • Impact: Attackers can cause stack-based memory corruption, potentially leading to denial of service or code execution.
  • Remediation: Update to the latest version of musl libc.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.00167
  • Epss percentile: 0.05916
  • Assignee: [email protected]
  • Published at: 2026-04-10T17:17:14Z
  • Age in days: 228
  • Modified at: 2026-06-17T10:44:51Z
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40200
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-670Always-Incorrect Control Flow Implementation

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://musl.libc.org/releases.html
https://www.openwall.com/lists/oss-security/2026/04/10/13
http://www.openwall.com/lists/oss-security/2026/04/10/13

Products

ProductAffectedPlatform boundSourcesUrl
musl-libc:musl>= 0.7.10, <= 1.2.6nocna/v1/products/musl-libc/musl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts