CVE-2016-9840 Memory corruption in n/a

High 8.8 Published Updated

Improper pointer arithmetic in zlib may allow attackers to cause unspecified impacts, requiring library updates.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2016-9840?

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.

Official description

inftrees.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact by leveraging improper pointer arithmetic.

Which versions are affected by CVE-2016-9840?

It affects 20 products.

Linux distribution packages (40)
rsync AlmaLinux:8All versions3.1.3-23.el8_10
rsync-daemon AlmaLinux:8All versions3.1.3-23.el8_10
rsync Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-23.el8_10
rsync-daemon Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-23.el8_10
rsync-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-23.el8_10
rsync-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:3.1.3-23.el8_10
rsync Red Hat:rhel_aus:8.2::baseosAll versions0:3.1.3-7.el8_2.5
rsync-daemon Red Hat:rhel_aus:8.2::baseosAll versions0:3.1.3-7.el8_2.5
rsync-debuginfo Red Hat:rhel_aus:8.2::baseosAll versions0:3.1.3-7.el8_2.5
rsync-debugsource Red Hat:rhel_aus:8.2::baseosAll versions0:3.1.3-7.el8_2.5
rsync Red Hat:rhel_aus:8.4::baseosAll versions0:3.1.3-12.el8_4.5
rsync-daemon Red Hat:rhel_aus:8.4::baseosAll versions0:3.1.3-12.el8_4.5
rsync-debuginfo Red Hat:rhel_aus:8.4::baseosAll versions0:3.1.3-12.el8_4.5
rsync-debugsource Red Hat:rhel_aus:8.4::baseosAll versions0:3.1.3-12.el8_4.5
rsync Red Hat:rhel_aus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-daemon Red Hat:rhel_aus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-debuginfo Red Hat:rhel_aus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-debugsource Red Hat:rhel_aus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync Red Hat:rhel_e4s:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-daemon Red Hat:rhel_e4s:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-debuginfo Red Hat:rhel_e4s:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-debugsource Red Hat:rhel_e4s:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync Red Hat:rhel_e4s:8.8::baseosAll versions0:3.1.3-20.el8_8.3
rsync-daemon Red Hat:rhel_e4s:8.8::baseosAll versions0:3.1.3-20.el8_8.3
rsync-debuginfo Red Hat:rhel_e4s:8.8::baseosAll versions0:3.1.3-20.el8_8.3
rsync-debugsource Red Hat:rhel_e4s:8.8::baseosAll versions0:3.1.3-20.el8_8.3
minizip Red Hat:rhel_els:7All versions0:1.2.7-21.el7_9.1
minizip-devel Red Hat:rhel_els:7All versions0:1.2.7-21.el7_9.1
zlib Red Hat:rhel_els:7All versions0:1.2.7-21.el7_9.1
zlib-debuginfo Red Hat:rhel_els:7All versions0:1.2.7-21.el7_9.1
zlib-devel Red Hat:rhel_els:7All versions0:1.2.7-21.el7_9.1
zlib-static Red Hat:rhel_els:7All versions0:1.2.7-21.el7_9.1
rsync Red Hat:rhel_tus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-daemon Red Hat:rhel_tus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-debuginfo Red Hat:rhel_tus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync-debugsource Red Hat:rhel_tus:8.6::baseosAll versions0:3.1.3-14.el8_6.8
rsync Red Hat:rhel_tus:8.8::baseosAll versions0:3.1.3-20.el8_8.3
rsync-daemon Red Hat:rhel_tus:8.8::baseosAll versions0:3.1.3-20.el8_8.3
rsync-debuginfo Red Hat:rhel_tus:8.8::baseosAll versions0:3.1.3-20.el8_8.3
rsync-debugsource Red Hat:rhel_tus:8.8::baseosAll versions0:3.1.3-20.el8_8.3

Products include Apple Iphone Os, Apple Mac Os X, Apple Tvos, Apple Watchos, Boost Boost, Canonical Ubuntu Linux and 14 more.

How do I fix CVE-2016-9840?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-9840 being exploited?

There is no known exploitation of CVE-2016-9840 in the wild and no public exploit code.

All Apple Iphone Os vulnerabilities

Sources

Also known as ALPINE-CVE-2016-9840, ALSA-2025:8395, AZL-44046, AZL-45132, CLSA-2025-1749825355, CLSA-2025-1749826078 and 21 more.

Is CVE-2016-9840 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free