{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-66485 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-66485 is a medium-severity denial of service vulnerability in GNU cpio, published on 10 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-66485 and fix it if it is affected.\n\nWhat it is: CVE-2026-66485 is a medium-severity denial of service vulnerability in GNU cpio, published on 10 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-66485 in the wild and no public exploit code.\n\nAffected product: GNU cpio. 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-66485/ (Markdown: https://insights.sbomify.com/CVE-2026-66485/index.md)","id":"CVE-2026-66485","markdown":"https://insights.sbomify.com/CVE-2026-66485/index.md","name":"CVE-2026-66485","record":{"aliases":["AZL-94692","DEBIAN-CVE-2026-66485","GHSA-mmw4-f4p6-w77q","RHSA-2026:82414","UBUNTU-CVE-2026-66485"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU cpio utility","requires_auth":"none","summary":"A malicious cpio archive can cause a stack overflow and crash the cpio process during extraction, leading to denial of service.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERT-PL","cpe":[],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"description":"GNU cpio is vulnerable to an uncontrolled memory allocation in the make_path function at src/makepath.c. The function uses alloca to allocate stack memory based on the length of argpath, which is derived from an archive-controlled pathname during extraction. A malicious cpio archive containing a sufficiently long nested pathname causes an unbounded stack allocation, resulting in a stack overflow and crash of the cpio process. An attacker who can supply a crafted cpio archive to a victim who extracts it can cause a denial of service.\n\nThis issue has been fixed in commit 3cd514031371d8aeeaf2048aa10103e02831aaa9","ecosystems":["Red Hat:hummingbird:1"],"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":"Uncontrolled Memory Allocation in GNU cpio","id":"CVE-2026-66485","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":1,"n_references":2,"next":{"headline":"Improper Output Encoding in GNU cpio","id":"CVE-2026-66486"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:2.15-10.3.hum1"],"introduced":["0"],"last_affected":[],"package":"cpio","purl":"pkg:rpm/redhat/cpio","source":"RHSA-2026:82414"}],"prev":{"headline":"Path Traversal in GNU cpio","id":"CVE-2026-66484"},"products":["cpio"],"published":"2026-08-10","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-08-10","vendors":["GNU"]},"summary":"A malicious cpio archive can cause a stack overflow and crash the cpio process during extraction, leading to denial of service.","url":"https://insights.sbomify.com/CVE-2026-66485/"}