{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-8704 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2016-8704 is a critical vulnerability in Memcached, published on 6 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-8704 and fix it if it is affected.\n\nWhat it is: CVE-2016-8704 is a critical vulnerability in Memcached, published on 6 Jan 2017. 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-2016-8704 in the wild and no public exploit code.\n\nAffected product: Memcached. 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-2016-8704/ (Markdown: https://insights.sbomify.com/CVE-2016-8704/index.md)","id":"CVE-2016-8704","markdown":"https://insights.sbomify.com/CVE-2016-8704/index.md","name":"CVE-2016-8704","record":{"aliases":["ALPINE-CVE-2016-8704","DEBIAN-CVE-2016-8704","GHSA-5hm6-wpg3-fv45","UBUNTU-CVE-2016-8704"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Memcached server","requires_auth":"none","summary":"An integer overflow in Memcached's binary protocol processing allows remote attackers to trigger a heap overflow and execute arbitrary code.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"memcached","vendor":"memcached"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.","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":"Integer overflow in Memcached","id":"CVE-2016-8704","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2016"},"n_packages":0,"n_references":8,"next":{"headline":"Integer overflow in Memcached","id":"CVE-2016-8705"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2016-8703"},"products":["Memcached"],"published":"2017-01-06","related":[{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2023-46853","kev_date_added":null,"published":"2023-10-27"},{"cvss_score":9.8,"headline":"Integer overflow in Memcached","id":"CVE-2016-8705","kev_date_added":null,"published":"2017-01-06"},{"cvss_score":8.1,"headline":"Information disclosure in memcached","id":"CVE-2026-47783","kev_date_added":null,"published":"2026-05-20"},{"cvss_score":8.1,"headline":"Information disclosure in memcached","id":"CVE-2026-47784","kev_date_added":null,"published":"2026-05-20"},{"cvss_score":8.1,"headline":"Integer overflow in Memcached","id":"CVE-2016-8706","kev_date_added":null,"published":"2017-01-06"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2023-46852","kev_date_added":null,"published":"2023-10-27"}],"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-06","vendors":["Memcached"]},"summary":"An integer overflow in Memcached's binary protocol processing allows remote attackers to trigger a heap overflow and execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2016-8704/"}