{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22184 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-22184 is a medium-severity memory corruption vulnerability in zlib, published on 7 Jan 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-22184 and fix it if it is affected.\n\nWhat it is: CVE-2026-22184 is a medium-severity memory corruption vulnerability in zlib, published on 7 Jan 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22184 exists.\n\nAffected product: zlib. 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-22184/ (Markdown: https://insights.sbomify.com/CVE-2026-22184/index.md)","id":"CVE-2026-22184","markdown":"https://insights.sbomify.com/CVE-2026-22184/index.md","name":"CVE-2026-22184","record":{"aliases":["ALPINE-CVE-2026-22184","AZL-73964","AZL-73967","AZL-73991","AZL-73994","AZL-74003","CLEANSTART-2026-GM38314","DEBIAN-CVE-2026-22184","ECHO-0c2a-94bf-ba6a","GHSA-7687-3v4j-49fr","MGASA-2026-0006","MINI-w4p6-33x2-v3jq","UBUNTU-CVE-2026-22184"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"zlib compression library","requires_auth":"none","summary":"A buffer overflow in the untgz utility allows attackers to execute arbitrary code or cause denial of service via a long archive name.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"zlib","vendor":"zlib"}],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"zlib versions up to and including 1.3.1.2 include a global buffer overflow in the untgz utility located under contrib/untgz. The vulnerability is limited to the standalone demonstration utility and does not affect the core zlib compression library. The flaw occurs when a user executes the untgz command with an excessively long archive name supplied via the command line, leading to an out-of-bounds write in a fixed-size global buffer.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"zlib \u003c= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()","id":"CVE-2026-22184","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()","id":"CVE-2026-22185"},"packages":[],"prev":{"headline":"wpDiscuz before 7.6.47 - Stored Cross-Site Scripting in Inline Comment Preview","id":"CVE-2026-22183"},"products":["zlib"],"published":"2026-01-07","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2002-0059","kev_date_added":null,"published":"2002-06-25"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2005-2096","kev_date_added":null,"published":"2005-07-06"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2003-0107","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":5,"headline":"Denial of service in n/a","id":"CVE-2005-1849","kev_date_added":null,"published":"2005-07-26"},{"cvss_score":2.9,"headline":"Denial of service in zlib","id":"CVE-2026-27171","kev_date_added":null,"published":"2026-02-18"},{"cvss_score":2.1,"headline":"Denial of service in n/a","id":"CVE-2004-0797","kev_date_added":null,"published":"2004-09-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["zlib software"]},"summary":"A buffer overflow in the untgz utility allows attackers to execute arbitrary code or cause denial of service via a long archive name.","url":"https://insights.sbomify.com/CVE-2026-22184/"}