{"answers":{"affected":"It affects 20 products.","exploited":"There is no known exploitation of CVE-2016-9840 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2016-9840 is a high-severity memory corruption vulnerability in Apple Iphone Os, published on 23 May 2017. 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-9840 and fix it if it is affected.\n\nWhat it is: CVE-2016-9840 is a high-severity memory corruption vulnerability in Apple Iphone Os, published on 23 May 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-9840 in the wild and no public exploit code.\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-9840/ (Markdown: https://insights.sbomify.com/CVE-2016-9840/index.md)","id":"CVE-2016-9840","markdown":"https://insights.sbomify.com/CVE-2016-9840/index.md","name":"CVE-2016-9840","record":{"aliases":["ALPINE-CVE-2016-9840","ALSA-2025:8395","AZL-44046","AZL-45132","CLSA-2025-1749825355","CLSA-2025-1749826078","CLSA-2025-1751027703","CLSA-2025-1757246101","CLSA-2025-1757246128","CLSA-2025-1757247437","CLSA-2025-1762540173","CLSA-2025-1762540366","CLSA-2025-1762544268","DEBIAN-CVE-2016-9840","GHSA-wrj6-35fr-8xw5","MINI-wvq8-69fq-5f57","PSF-2017-2","RHSA-2025:10541","RHSA-2025:11048","RHSA-2025:12013","RHSA-2025:13947","RHSA-2025:8314","RHSA-2025:8395","RLSA-2025:8395","SUSE-SU-2025:02536-1","UBUNTU-CVE-2016-9840","openSUSE-SU-2024:11599-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"zlib compression library","requires_auth":"none","summary":"Improper pointer arithmetic in zlib may allow attackers to cause unspecified impacts, requiring library updates.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microfocus","cpe":[{"product":"iphone_os","vendor":"apple"},{"product":"mac_os_x","vendor":"apple"},{"product":"tvos","vendor":"apple"},{"product":"watchos","vendor":"apple"},{"product":"boost","vendor":"boost"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"node.js","vendor":"nodejs"},{"product":"leap","vendor":"opensuse"},{"product":"opensuse","vendor":"opensuse"},{"product":"database_server","vendor":"oracle"},{"product":"jdk","vendor":"oracle"},{"product":"jre","vendor":"oracle"},{"product":"mysql","vendor":"oracle"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"satellite","vendor":"redhat"},{"product":"zlib","vendor":"zlib"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"inftrees.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact by leveraging improper pointer arithmetic.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_aus:8.4::baseos","Red Hat:rhel_aus:8.6::baseos","Red Hat:rhel_e4s:8.6::baseos","Red Hat:rhel_e4s:8.8::baseos","Red Hat:rhel_els:7","Red Hat:rhel_tus:8.6::baseos","Red Hat:rhel_tus:8.8::baseos","Rocky Linux:8","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Legacy 15 SP6","SUSE:Linux Enterprise Module for Legacy 15 SP7","SUSE:Linux Enterprise Module for Package Hub 15 SP6","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.6"],"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":"Memory corruption in n/a","id":"CVE-2016-9840","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apple:iphone_os","products":["apple:iphone_os","apple:mac_os_x","apple:tvos","apple:watchos","canonical:ubuntu_linux","debian:debian_linux","nodejs:node.js","opensuse:leap","opensuse:opensuse","oracle:database_server","oracle:jdk","oracle:jre","oracle:mysql","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation","redhat:satellite"],"type":"memory_corruption","year":"2016"},"n_packages":84,"n_references":30,"next":{"headline":"Memory corruption in n/a","id":"CVE-2016-9841"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-23.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/almalinux/rsync","source":"ALSA-2025:8395"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.3-23.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/almalinux/rsync-daemon","source":"ALSA-2025:8395"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-23.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:8395"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-23.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:8395"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-23.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:8395"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.1.3-23.el8_10"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:8395"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.5"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:11048"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.5"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:11048"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.5"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:11048"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:3.1.3-7.el8_2.5"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:11048"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.5"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:10541"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.5"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:10541"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.5"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:10541"},{"ecosystem":"Red Hat:rhel_aus:8.4::baseos","fixed":["0:3.1.3-12.el8_4.5"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:10541"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_aus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_e4s:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:13947"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:13947"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:13947"},{"ecosystem":"Red Hat:rhel_e4s:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:13947"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.2.7-21.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"minizip","purl":"pkg:rpm/redhat/minizip","source":"RHSA-2025:8314"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.2.7-21.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"minizip-devel","purl":"pkg:rpm/redhat/minizip-devel","source":"RHSA-2025:8314"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.2.7-21.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"zlib","purl":"pkg:rpm/redhat/zlib","source":"RHSA-2025:8314"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.2.7-21.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"zlib-debuginfo","purl":"pkg:rpm/redhat/zlib-debuginfo","source":"RHSA-2025:8314"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.2.7-21.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"zlib-devel","purl":"pkg:rpm/redhat/zlib-devel","source":"RHSA-2025:8314"},{"ecosystem":"Red Hat:rhel_els:7","fixed":["0:1.2.7-21.el7_9.1"],"introduced":["0"],"last_affected":[],"package":"zlib-static","purl":"pkg:rpm/redhat/zlib-static","source":"RHSA-2025:8314"},{"ecosystem":"Red Hat:rhel_tus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_tus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_tus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_tus:8.6::baseos","fixed":["0:3.1.3-14.el8_6.8"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:12013"},{"ecosystem":"Red Hat:rhel_tus:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync","purl":"pkg:rpm/redhat/rsync","source":"RHSA-2025:13947"},{"ecosystem":"Red Hat:rhel_tus:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync-daemon","purl":"pkg:rpm/redhat/rsync-daemon","source":"RHSA-2025:13947"},{"ecosystem":"Red Hat:rhel_tus:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debuginfo","purl":"pkg:rpm/redhat/rsync-debuginfo","source":"RHSA-2025:13947"},{"ecosystem":"Red Hat:rhel_tus:8.8::baseos","fixed":["0:3.1.3-20.el8_8.3"],"introduced":["0"],"last_affected":[],"package":"rsync-debugsource","purl":"pkg:rpm/redhat/rsync-debugsource","source":"RHSA-2025:13947"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2016-9839"},"products":["n/a"],"published":"2017-05-23","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":8.8,"headline":"Apple iOS Webkit Memory Corruption","id":"CVE-2016-4657","kev_date_added":"2022-05-24","published":"2016-08-25"},{"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":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["n/a"]},"summary":"Improper pointer arithmetic in zlib may allow attackers to cause unspecified impacts, requiring library updates.","url":"https://insights.sbomify.com/CVE-2016-9840/"}