CVEfocus › CVE database › CVE-2016-9840

CVE-2016-9840

EPSS 4.9% (higher than 92% of CVEs)Published 2017-05-23Updated 2026-10-08Assigner: microfocus

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

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
10Fix pending
2Will not fix
18Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10zsyncFix pendingUBUNTU-CVE-2016-9840
Ubuntu 26.04zlibNot affected
vulnerable_code_not_present
Ubuntu 26.04zsyncFix pendingUBUNTU-CVE-2016-9840
Ubuntu 25.10klibcFixed2.0.13-4ubuntu1UBUNTU-CVE-2016-9840
Ubuntu 25.10zlibNot affected
vulnerable_code_not_present
Ubuntu 25.10zsyncWill not fix
since 3.1.3-7, rsync builds with the system zlib
UBUNTU-CVE-2016-9840
Ubuntu 24.04klibcFixed2.0.13-4ubuntu0.1UBUNTU-CVE-2016-9840
Ubuntu 24.04zlibNot affected
vulnerable_code_not_present
Ubuntu 24.04zsyncFix pendingUBUNTU-CVE-2016-9840
Ubuntu 22.04klibcFixed2.0.10-4ubuntu0.1UBUNTU-CVE-2016-9840
Ubuntu 22.04zlibNot affected
vulnerable_code_not_present
Ubuntu 22.04zsyncFix pendingUBUNTU-CVE-2016-9840
Ubuntu 20.04klibcFixed2.0.7-1ubuntu5.2UBUNTU-CVE-2016-9840
Ubuntu 20.04rsyncFixed3.1.3-6UBUNTU-CVE-2016-9840
Ubuntu 20.04zlibNot affected
vulnerable_code_not_present
Ubuntu 20.04zsyncWill not fix
since 3.1.3-7, rsync builds with the system zlib
UBUNTU-CVE-2016-9840
Ubuntu 18.04klibcFix pending2.0.4-9ubuntu2.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2016-9840
Ubuntu 18.04rsyncFixed3.1.2-2.1ubuntu1.1UBUNTU-CVE-2016-9840
Ubuntu 18.04zlibNot affected
vulnerable_code_not_present
Ubuntu 18.04zsyncFix pendingUBUNTU-CVE-2016-9840
Ubuntu 16.04klibcFix pending2.0.4-8ubuntu1.16.04.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2016-9840
Ubuntu 16.04rsyncFixed3.1.1-3ubuntu1.3UBUNTU-CVE-2016-9840
Ubuntu 16.04zlibFixed1:1.2.8.dfsg-2ubuntu4.3UBUNTU-CVE-2016-9840
Ubuntu 16.04zsyncFix pendingUBUNTU-CVE-2016-9840
Ubuntu 14.04klibcFix pending2.0.3-0ubuntu1.14.04.3+esm3 (Ubuntu Pro)UBUNTU-CVE-2016-9840
Ubuntu 14.04zlibFix pendingUBUNTU-CVE-2016-9840
Debian 14rsyncFixed3.1.3-6DEBIAN-CVE-2016-9840
Debian 14zlibFixed1:1.2.8.dfsg-3DEBIAN-CVE-2016-9840
Debian 13rsyncFixed3.1.3-6DEBIAN-CVE-2016-9840
Debian 13zlibFixed1:1.2.8.dfsg-3DEBIAN-CVE-2016-9840
Debian 12rsyncFixed3.1.3-6DEBIAN-CVE-2016-9840
Debian 12zlibFixed1:1.2.8.dfsg-3DEBIAN-CVE-2016-9840
Red Hat Enterprise Linux 10rsyncNot affected
Red Hat Enterprise Linux 10rsync-daemonNot affected
Red Hat Enterprise Linux 10rsync-rrsyncNot affected
Red Hat Enterprise Linux 9rsyncNot affected
Red Hat Enterprise Linux 9rsync-daemonNot affected
Red Hat Enterprise Linux 9rsync-rrsyncNot affected
Red Hat Enterprise Linux 8rsyncFixed0:3.1.3-23.el8_10RHSA-2025:8395
Red Hat Enterprise Linux 8rsync-daemonFixed0:3.1.3-23.el8_10RHSA-2025:8395
Red Hat Enterprise Linux 6minizipNot affected
Red Hat Enterprise Linux 6minizip-develNot affected
Red Hat Enterprise Linux 6zlibNot affected
Red Hat Enterprise Linux 6zlib-develNot affected
Red Hat Enterprise Linux 6zlib-staticNot affected
Red Hat Enterprise Linux 5zlibNot affected
AlmaLinux 8rsyncFixed3.1.3-23.el8_10ALSA-2025:8395
AlmaLinux 8rsync-daemonFixed3.1.3-23.el8_10ALSA-2025:8395
Rocky Linux 8rsyncFixed0:3.1.3-23.el8_10RLSA-2025:8395
Alpine Linux 3.6perlFixed5.24.3-r1ALPINE-CVE-2016-9840
Alpine Linux 3.5perlFixed5.24.3-r1ALPINE-CVE-2016-9840
Alpine Linux 3.5zlibFixed1.2.11-r0ALPINE-CVE-2016-9840
Alpine Linux 3.4zlibFixed1.2.11-r0ALPINE-CVE-2016-9840
Alpine Linux 3.3zlibFixed1.2.11-r0ALPINE-CVE-2016-9840

What the vendor says

As published in the CVE record by microfocus, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.