{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2016-4657 in the wild since at least 24 May 2022.","fix":"Upgrade to a fixed version. US federal agencies must fix it by 14 Jun 2022.","what":"CVE-2016-4657 is a high-severity memory corruption vulnerability in Apple Iphone Os, published on 25 Aug 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-4657 and fix it if it is affected.\n\nWhat it is: CVE-2016-4657 is a high-severity memory corruption vulnerability in Apple Iphone Os, published on 25 Aug 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: Yes. Attackers have exploited CVE-2016-4657 in the wild since at least 24 May 2022.\n\nAffected product: Apple Iphone Os. 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-4657/ (Markdown: https://insights.sbomify.com/CVE-2016-4657/index.md)","id":"CVE-2016-4657","markdown":"https://insights.sbomify.com/CVE-2016-4657/index.md","name":"CVE-2016-4657","record":{"aliases":["GHSA-99xm-29ff-vvqm","UBUNTU-CVE-2016-4657"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"iOS WebKit","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or cause denial of service via a crafted website due to memory corruption in WebKit on iOS.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apple","cpe":[{"product":"iphone_os","vendor":"apple"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"WebKit in Apple iOS before 9.3.5 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted web site.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2016-08-25","github_poc":3,"max_poc_stars":56,"metasploit":1,"nuclei":0,"refs":[{"date":"2017-06-02T10:54:27Z","kind":"github_poc","ref":"https://github.com/iDaN5x/Switcheroo","stars":56,"title":"Exploiting CVE-2016-4657 to JailBreak the Nintendo Switch"},{"date":"2018-11-11T14:22:18Z","kind":"github_poc","ref":"https://github.com/viai957/webkit-vulnerability","stars":9,"title":" CVE-2016-4657 web-kit vulnerability for  ios 9.3, nintendo switch browser vulnerability  "},{"date":"2017-03-13T13:08:17Z","kind":"github_poc","ref":"https://github.com/Mimoja/CVE-2016-4657-NintendoSwitch","stars":3,"title":"CVE-2016-4657 for NintendoSwitch rwx"},{"date":"2016-08-25","kind":"metasploit","ref":"exploit/apple_ios/browser/webkit_trident","stars":null,"title":"WebKit not_number defineProperties UAF"},{"date":"2017-03-12","kind":"exploitdb","ref":"44213","stars":null,"title":"Nintendo Switch - WebKit Code Execution (PoC)"},{"date":"2018-06-05","kind":"exploitdb","ref":"44836","stars":null,"title":"WebKit - not_number defineProperties UAF (Metasploit)"}],"tier":"exploited"},"has_fix":true,"headline":"Apple iOS Webkit Memory Corruption","id":"CVE-2016-4657","indexable":true,"kev":{"dateAdded":"2022-05-24","dueDate":"2022-06-14","knownRansomwareCampaignUse":"Unknown","product":"iOS","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Apple","vulnerabilityName":"Apple iOS Webkit Memory Corruption Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"apple:iphone_os","products":["apple:iphone_os"],"type":"memory_corruption","year":"2016"},"n_packages":0,"n_references":7,"next":{"headline":"Nokogiri does not forbid namespace nodes in XPointer ranges","id":"CVE-2016-4658"},"packages":[],"prev":{"headline":"Apple iOS Memory Corruption","id":"CVE-2016-4656"},"products":["n/a"],"published":"2016-08-25","related":[{"cvss_score":8.8,"headline":"Apple iOS WebKit Buffer Overflow","id":"CVE-2021-30666","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":8.8,"headline":"Apple iOS WebKit Memory Corruption","id":"CVE-2021-30761","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":8.8,"headline":"Apple iOS WebKit Use-After-Free","id":"CVE-2021-30762","kev_date_added":"2021-11-03","published":"2021-09-08"},{"cvss_score":7.8,"headline":"Apple Multiple Products Memory Corruption","id":"CVE-2019-7286","kev_date_added":"2022-05-23","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple iOS Memory Corruption","id":"CVE-2019-7287","kev_date_added":"2022-05-23","published":"2019-12-18"},{"cvss_score":7.8,"headline":"Apple Multiple Products Use-After-Free","id":"CVE-2019-8605","kev_date_added":"2022-06-27","published":"2019-12-18"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code or cause denial of service via a crafted website due to memory corruption in WebKit on iOS.","url":"https://insights.sbomify.com/CVE-2016-4657/"}