{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2002-0059 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2002-0059 yet. Limit exposure of the affected software until one is available.","what":"CVE-2002-0059 is a critical use after free vulnerability in n/a, published on 25 Jun 2002. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2002-0059 and fix it if it is affected.\n\nWhat it is: CVE-2002-0059 is a critical use after free vulnerability in n/a, published on 25 Jun 2002. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2002-0059 in the wild and no public exploit code.\n\nAffected product: n/a. 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-2002-0059/ (Markdown: https://insights.sbomify.com/CVE-2002-0059/index.md)","id":"CVE-2002-0059","markdown":"https://insights.sbomify.com/CVE-2002-0059/index.md","name":"CVE-2002-0059","record":{"aliases":["GHSA-8894-p74v-5485"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"zlib compression library","requires_auth":"none","summary":"A double-free vulnerability in zlib allows attackers to execute arbitrary code via malformed compression data.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"zlib","vendor":"zlib"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-415","name":"Double Free"}],"description":"The decompression algorithm in zlib 1.1.3 and earlier, as used in many different utilities and packages, causes inflateEnd to release certain memory more than once (a \"double free\"), which may allow local and remote attackers to execute arbitrary code via a block of malformed compression data.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Use after free in n/a","id":"CVE-2002-0059","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2002"},"n_packages":0,"n_references":16,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2002-0060"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2002-0058"},"products":["n/a"],"published":"2002-06-25","related":[{"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":4.6,"headline":"zlib \u003c= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()","id":"CVE-2026-22184","kev_date_added":null,"published":"2026-01-07"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"A double-free vulnerability in zlib allows attackers to execute arbitrary code via malformed compression data.","url":"https://insights.sbomify.com/CVE-2002-0059/"}