{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-40200 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-40200 is a high-severity memory corruption vulnerability in musl-libc musl, published on 10 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40200 and fix it if it is affected.\n\nWhat it is: CVE-2026-40200 is a high-severity memory corruption vulnerability in musl-libc musl, published on 10 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40200 in the wild and no public exploit code.\n\nAffected product: musl-libc musl. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40200/ (Markdown: https://insights.sbomify.com/CVE-2026-40200/index.md)","id":"CVE-2026-40200","markdown":"https://insights.sbomify.com/CVE-2026-40200/index.md","name":"CVE-2026-40200","record":{"aliases":["ALPINE-CVE-2026-40200","BELL-CVE-2026-40200","DEBIAN-CVE-2026-40200","ECHO-44b5-f48b-3822","GHSA-qrwv-475h-2439","ROOT-OS-ALPINE-315-CVE-2026-40200","ROOT-OS-ALPINE-317-CVE-2026-40200","ROOT-OS-ALPINE-318-CVE-2026-40200","UBUNTU-CVE-2026-40200"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"musl libc library","requires_auth":"none","summary":"Stack-based memory corruption in musl libc qsort allows code execution or denial of service when sorting extremely large arrays.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"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).","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in musl","id":"CVE-2026-40200","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"@diplodoc/search-extension allows stored XSS via Markdown file title","id":"CVE-2026-40201"},"packages":[],"prev":{"headline":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass","id":"CVE-2026-40199"},"products":["musl"],"published":"2026-04-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-14","vendors":["musl-libc"]},"summary":"Stack-based memory corruption in musl libc qsort allows code execution or denial of service when sorting extremely large arrays.","url":"https://insights.sbomify.com/CVE-2026-40200/"}