{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-6042 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-6042 is a medium-severity denial of service vulnerability in musl libc, 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-6042 and fix it if it is affected.\n\nWhat it is: CVE-2026-6042 is a medium-severity denial of service vulnerability in musl libc, 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-6042 in the wild and no public exploit code.\n\nAffected product: musl libc. 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-6042/ (Markdown: https://insights.sbomify.com/CVE-2026-6042/index.md)","id":"CVE-2026-6042","markdown":"https://insights.sbomify.com/CVE-2026-6042/index.md","name":"CVE-2026-6042","record":{"aliases":["ALPINE-CVE-2026-6042","BELL-CVE-2026-6042","DEBIAN-CVE-2026-6042","ECHO-7274-4b19-c757","GHSA-2qh3-3rmv-x43w","ROOT-OS-ALPINE-317-CVE-2026-6042","UBUNTU-CVE-2026-6042"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"musl libc","requires_auth":"low_privilege","summary":"A local attacker can cause denial of service in musl libc via inefficient algorithmic complexity in the GB18030 iconv decoder.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","version":"4.0"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-404","name":"Improper Resource Shutdown or Release"}],"description":"A security flaw has been discovered in musl libc up to 1.2.6. Affected is the function iconv of the file src/locale/iconv.c of the component GB18030 4-byte Decoder. Performing a manipulation results in inefficient algorithmic complexity. The attack must be initiated from a local position. To fix this issue, it is recommended to deploy a patch.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-04-14","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-14T14:49:26Z","kind":"github_poc","ref":"https://github.com/jensnesten/CVE-2026-6042-PoC","stars":0,"title":"Proof of concept and end-to-end test of Algorithmic Complexity DoS in musl libc 0.8.0-1.2.6 assigned CVE-2026-6042"}],"tier":"poc_unverified"},"has_fix":true,"headline":"musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity","id":"CVE-2026-6042","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"Insecure Default Configuration in P4 Server","id":"CVE-2026-6043"},"packages":[],"prev":{"headline":"Buzz Comments \u003c= 0.9.4 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Custom Buzz Avatar' Setting","id":"CVE-2026-6041"},"products":["libc"],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-10","vendors":["musl"]},"summary":"A local attacker can cause denial of service in musl libc via inefficient algorithmic complexity in the GB18030 iconv decoder.","url":"https://insights.sbomify.com/CVE-2026-6042/"}