cve.bz

CVE-2016-9840

8.8 highEPSS 4.9%Fix available

High (8.8). EPSS 4.9% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
4.9% (unchanged from 4.9% a week ago; 4.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-9840 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-9840?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-9840?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-9840 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2016-9840

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2016-9840](https://cve.bz/cve/badge/CVE-2016-9840.svg)](https://cve.bz/cve/CVE-2016-9840)

HTML:

<a href="https://cve.bz/cve/CVE-2016-9840"><img src="https://cve.bz/cve/badge/CVE-2016-9840.svg" alt="CVE-2016-9840"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
boost:boostbefore 1.78.0
zlib:zlibfrom 1.2.0.6 before 1.2.9
opensuse:leap42.1
opensuse:leap42.2
opensuse:opensuse13.2
debian:debian_linux8.0
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
oracle:database_server18c
oracle:jdk1.6.0:update161
oracle:jdk1.7.0:update151
oracle:jdk1.8.0:update144
oracle:jre1.6.0:update161
oracle:jre1.7.0:update151
oracle:jre1.8.0:update144
oracle:mysqlfrom 5.5.0 through 5.5.61
oracle:mysqlfrom 5.6.0 through 5.6.41
oracle:mysqlfrom 5.7.0 through 5.7.23
oracle:mysqlfrom 8.0.0 through 8.0.12
redhat:satellite5.8
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus7.4
redhat:enterprise_linux_eus7.5
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0
apple:iphone_osbefore 11
apple:mac_os_xfrom 10.0.0 before 10.13.0
apple:tvosbefore 11.0
apple:watchosbefore 4
nodejs:node.jsfrom 4.0.0 through 4.1.2
nodejs:node.jsfrom 4.2.0 before 4.8.2
nodejs:node.jsfrom 6.0.0 through 6.8.1
nodejs:node.jsfrom 6.9.0 before 6.10.2
nodejs:node.jsfrom 7.0.0 before 7.6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8rsync3.1.1-3+deb8u2DLA-1725-1
Debian8zlib1:1.2.8.dfsg-2+deb8u1DLA-2085-1
Debian12, 13, 14rsync3.1.3-6DEBIAN-CVE-2016-9840
Debian12, 13, 14zlib1:1.2.8.dfsg-3DEBIAN-CVE-2016-9840
Ubuntu16.04:LTSrsync3.1.1-3ubuntu1.3UBUNTU-CVE-2016-9840 USN-4292-1
Ubuntu16.04:LTSzlib1:1.2.8.dfsg-2ubuntu4.3UBUNTU-CVE-2016-9840 USN-4246-1
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morezsyncno fix listedUBUNTU-CVE-2016-9840
Ubuntu18.04:LTSrsync3.1.2-2.1ubuntu1.1UBUNTU-CVE-2016-9840 USN-4292-1
Ubuntu20.04:LTSklibc2.0.7-1ubuntu5.2UBUNTU-CVE-2016-9840 USN-6736-1
Ubuntu20.04:LTSrsync3.1.3-6UBUNTU-CVE-2016-9840
Ubuntu22.04:LTSklibc2.0.10-4ubuntu0.1UBUNTU-CVE-2016-9840 USN-6736-1
Ubuntu24.04:LTSklibc2.0.13-4ubuntu0.1UBUNTU-CVE-2016-9840 USN-6736-2
Ubuntu25.10klibc2.0.13-4ubuntu1UBUNTU-CVE-2016-9840
UbuntuPro:14.04:LTSklibc2.0.3-0ubuntu1.14.04.3+esm3UBUNTU-CVE-2016-9840 USN-6736-1
UbuntuPro:14.04:LTSzlibno fix listedUBUNTU-CVE-2016-9840
UbuntuPro:16.04:LTSklibc2.0.4-8ubuntu1.16.04.4+esm2UBUNTU-CVE-2016-9840 USN-6736-1
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-23.el8_10RHSA-2025:8395
Red Hatnetwork_satellite:5.8::el6java-1.8.0-ibm, java-1.8.0-ibm-devel1:1.8.0.5.5-1jpp.1.el6_9RHSA-2017:3453
Red Hatrhel_aus:8.2::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-7.el8_2.5RHSA-2025:11048
Red Hatrhel_aus:8.4::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-12.el8_4.5RHSA-2025:10541
Red Hatrhel_aus:8.6::baseos, rhel_e4s:8.6::baseos, rhel_tus:8.6::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-14.el8_6.8RHSA-2025:12013
Red Hatrhel_e4s:8.8::baseos, rhel_tus:8.8::baseosrsync, rsync-daemon, rsync-debuginfo and 1 more0:3.1.3-20.el8_8.3RHSA-2025:13947
Red Hatrhel_els:7zlib, minizip, zlib-devel and 3 more0:1.2.7-21.el7_9.1RHSA-2025:8314
Red Hatrhel_extras:6java-1.6.0-ibm, java-1.6.0-ibm-src, java-1.6.0-ibm-demo and 4 more1:1.6.0.16.45-1jpp.1.el6_9RHSA-2017:1222
Red Hatrhel_extras:6java-1.7.1-ibm, java-1.7.1-ibm-src, java-1.7.1-ibm-demo and 3 more1:1.7.1.4.5-1jpp.2.el6_9RHSA-2017:1221
Red Hatrhel_extras:6java-1.8.0-ibm, java-1.8.0-ibm-src, java-1.8.0-ibm-demo and 3 more1:1.8.0.4.5-1jpp.1.el6_9RHSA-2017:1220
Red Hatrhel_extras:7java-1.7.1-ibm, java-1.7.1-ibm-src, java-1.7.1-ibm-demo and 3 more1:1.7.1.4.5-1jpp.1.el7_3RHSA-2017:1221
Red Hatrhel_extras:7java-1.8.0-ibm, java-1.8.0-ibm-src, java-1.8.0-ibm-demo and 3 more1:1.8.0.4.5-1jpp.1.el7_3RHSA-2017:1220
6 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moreboost, boost-base1.66.0-150200.12.7.1SUSE-SU-2025:02536-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 1 morezlib1.2.8-6.3.1SUSE-SU-2017:0004-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 9 morejava-1_7_0-openjdk1.7.0.161-43.7.6SUSE-SU-2018:0005-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 7 morejava-1_8_0-openjdk1.8.0.151-27.8.1SUSE-SU-2017:2989-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 2 morezlib1.2.8-11.1SUSE-SU-2017:0003-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 2 moreboost-base1.66.0-150200.12.7.1SUSE-SU-2025:02536-1
SUSELinux Enterprise Module for Legacy 12java-1_6_0-ibm1.6.0_sr16.45-49.1SUSE-SU-2017:1389-1
SUSELinux Enterprise Module for Legacy 15 SP6, Linux Enterprise Module for Legacy 15 SP7, Linux Enterprise Module for Package Hub 15 SP6 and 1 moreboost1.66.0-150200.12.7.1SUSE-SU-2025:02536-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATAjava-1_6_0-ibm1.6.0_sr16.45-84.1SUSE-SU-2017:1444-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATAjava-1_7_0-ibm1.7.0_sr10.5-64.1SUSE-SU-2017:1384-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4java-1_7_1-ibm1.7.1_sr4.5-25.1SUSE-SU-2017:1387-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4zlib1.2.7-0.14.1SUSE-SU-2016:3209-1
3 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6boost, boost-base1.66.0-150200.12.7.1SUSE-SU-2025:02536-1
openSUSETumbleweedjava-1_8_0-openjdk1.8.0.302-2.2openSUSE-SU-2024:10876-1
AlmaLinux8rsync, rsync-daemon3.1.3-23.el8_10ALSA-2025:8395
Rocky Linux8rsync0:3.1.3-23.el8_10RLSA-2025:8395
Alpinev3.3, v3.4, v3.5zlib1.2.11-r0ALPINE-CVE-2016-9840
Alpinev3.5, v3.6perl5.24.3-r1ALPINE-CVE-2016-9840
Azure Linux3fltk1.3.8-1AZL-45132
Azure Linux3openjpeg2no fix listedAZL-44046

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

While this undefined behavior does not currently manifest as an exploitable issue on Red Hat Enterprise Linux systems using GCC compilers, it could become problematic with future compiler implementations. This flaw affects various Java packages in Red Hat Enterprise Linux 6 and 7, but native zlib packages in Red Hat Enterprise Linux are not impacted due to the specific compiler implementation used.

ProductPackageStateAdvisory
Oracle Java for Red Hat Enterprise Linux 6java-1.8.0-oracle-1:1.8.0.151-1jpp.1.el6Fixed 2017-10-23RHSA-2017:2999
Oracle Java for Red Hat Enterprise Linux 6java-1.7.0-oracle-1:1.7.0.161-1jpp.3.el6Fixed 2017-10-24RHSA-2017:3046
Oracle Java for Red Hat Enterprise Linux 6java-1.6.0-sun-1:1.6.0.171-1jpp.4.el6Fixed 2017-10-24RHSA-2017:3047
Oracle Java for Red Hat Enterprise Linux 7java-1.8.0-oracle-1:1.8.0.151-1jpp.5.el7Fixed 2017-10-23RHSA-2017:2999
Oracle Java for Red Hat Enterprise Linux 7java-1.7.0-oracle-1:1.7.0.161-1jpp.4.el7Fixed 2017-10-24RHSA-2017:3046
Oracle Java for Red Hat Enterprise Linux 7java-1.6.0-sun-1:1.6.0.171-1jpp.4.el7Fixed 2017-10-24RHSA-2017:3047
Red Hat Enterprise Linux 6 Supplementaryjava-1.8.0-ibm-1:1.8.0.4.5-1jpp.1.el6_9Fixed 2017-05-10RHSA-2017:1220
Red Hat Enterprise Linux 6 Supplementaryjava-1.7.1-ibm-1:1.7.1.4.5-1jpp.2.el6_9Fixed 2017-05-10RHSA-2017:1221
Red Hat Enterprise Linux 6 Supplementaryjava-1.6.0-ibm-1:1.6.0.16.45-1jpp.1.el6_9Fixed 2017-05-10RHSA-2017:1222
Red Hat Enterprise Linux 7 Extended Lifecycle Supportzlib-0:1.2.7-21.el7_9.1Fixed 2025-05-29RHSA-2025:8314
Red Hat Enterprise Linux 7 Supplementaryjava-1.8.0-ibm-1:1.8.0.4.5-1jpp.1.el7_3Fixed 2017-05-10RHSA-2017:1220
Red Hat Enterprise Linux 10rsyncNot affected
Red Hat Enterprise Linux 5zlibNot affected
Red Hat Enterprise Linux 6zlibNot affected
Red Hat Enterprise Linux 9rsyncNot affected
Red Hat JBoss Enterprise Application Platform 5zlibNot affected
Red Hat JBoss Enterprise Application Platform 6zlibNot affected
Red Hat JBoss Enterprise Web Server 1zlibNot affected
Red Hat JBoss Enterprise Web Server 2zlibNot affected
Red Hat JBoss Enterprise Web Server 3zlibNot affected
391 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-9840.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-202-06Siemens CADRA2026-07-14Chemical, Commercial Facilities, Communications, EnergyCADRA < V2511none listed
ICSA-19-155-01PHOENIX CONTACT PLCNext AXC F 21522019-06-04Commercial FacilitiesAXC F 2152: article number 2404267 version 1.x, AXC F 2152: article number 1046568 (Starterkit) version 1.xnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON