CVE-2016-9840
No exploitation reported by the sources we read.
- Published2017-05-23
- Fixed in1.2.9
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
inftrees.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact by leveraging improper pointer arithmetic.
Timeline
dates in UTC- 2017-05-2304:29CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.2 | ≥ 1.2.0.6, < 1.2.9 | 1.2.9 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.x | ≥ 7.0.0, < 7.6.0 | 7.6.0 | NVD |
| 6.x | ≥ 6.9.0, < 6.10.2 | 6.10.2 | NVD |
| 4.x | ≥ 4.2.0, < 4.8.2 | 4.8.2 | NVD |
| 4.x | ≥ 4.0.0, ≤ 4.1.2 | no fix published | NVD |
| 6.x | ≥ 6.0.0, ≤ 6.8.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.5 | ≥ 5.5.0, ≤ 5.5.61 | no fix published | NVD |
| 5.6 | ≥ 5.6.0, ≤ 5.6.41 | no fix published | NVD |
| 5.7 | ≥ 5.7.0, ≤ 5.7.23 | no fix published | NVD |
| 8.0 | ≥ 8.0.0, ≤ 8.0.12 | no fix published | NVD |
17 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- boostSUSE:Manager Server 4.3all versions · fixed in 1.66.0-150200.12.7.1and 1 other package
- boostSUSE:Manager Proxy 4.3all versions · fixed in 1.66.0-150200.12.7.1and 1 other package
- boostSUSE:Linux Enterprise Server for SAP Applications 15 SP5all versions · fixed in 1.66.0-150200.12.7.1and 1 other package
- boostSUSE:Linux Enterprise Server for SAP Applications 15 SP4all versions · fixed in 1.66.0-150200.12.7.1and 1 other package
- boostSUSE:Linux Enterprise Server for SAP Applications 15 SP3all versions · fixed in 1.66.0-150200.12.7.1and 1 other package
- boostSUSE:Linux Enterprise Server 15 SP5-LTSSall versions · fixed in 1.66.0-150200.12.7.1and 1 other package
- boostSUSE:Linux Enterprise Server 15 SP4-LTSSall versions · fixed in 1.66.0-150200.12.7.1and 1 other package
- boostSUSE:Linux Enterprise Server 15 SP3-LTSSall versions · fixed in 1.66.0-150200.12.7.1and 1 other package
156 more package ranges on OSV.dev
Vendor advisories
zlib: Out-of-bound pointer arithmetic in inftrees.c
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: rsync security update
Red Hat Security Advisory: OpenShift Container Platform 4.17.32 bug fix and security update
11 more advisories
Fix
- Update Zlib to 1.2.9
- Vendor fix Red Hat Product Security RHSA-2025:13947 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:8280 · 662 productsFor OpenShift Container Platform 4.17 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2025:8284 · 662 productsFor OpenShift Container Platform 4.18 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix CISA ICSA-19-155-01 · 2 productsFollow the advice concerning SD card usage in the manual “Art.-Nr. 107708: UM EN AXC F 2152 Installing, starting up, and operating the AXC F 2152 controller um_en_axc_f_2152_107708_en_02.pdf” that can be found on the product page below:
- Vendor fix Red Hat Product Security RHSA-2017:3453 · 10 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For this update to take effect, Red Hat Satellite must be restarted ("/usr/sbin/rhn-satellite restart"). All running instances of IBM Java must be res…
- Vendor fix Red Hat Product Security RHSA-2017:3046 · 74 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 All running instances of Oracle Java must be restarted for this update to take effect.
Advisories and patches
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-24
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-10-08
- NVDCVSS 3.18.8read 2026-10-23
- NVDCVSS 2.06.8read 2026-10-23
- FIRST EPSSEPSS score4.9 %2026-11-23
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-44046same flawAzure Linux · MIT
- AZL-45132same flawAzure Linux · MIT
- CGA-22w5-rxc5-vhc2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2p93-pgjh-mvjjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-35fq-mvrh-p97msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hwx-qgm4-xp8fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4mw7-cqjf-mpqfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4p7j-vp2m-vr7rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-4w9h-x2rp-crmqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-54qq-c5h2-vf23same flawChainguard · CC-BY-NC-ND-4.0
- CGA-58mv-rxc5-7fg3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5vq7-7hqm-jjfgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5xc8-7444-wqmmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-78xq-8h7m-m475same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8355-fcvm-9477same flawChainguard · CC-BY-NC-ND-4.0
- CGA-89xh-vfv8-m5qcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8frp-pg9q-vgjqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8jr7-2q4r-pgc7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8q3r-c4j5-7c6fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-95jc-gcqh-qm73same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9c7j-f2fg-qrvpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9p63-vcc6-9fxqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9vjm-22wx-36gvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9w53-vf2q-p6fcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c3hr-54p8-82vmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cjgx-fv22-56pgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cjrm-q26m-8jwfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fp3w-vgxr-vjcgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fqgr-4vf8-fx27same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g4x5-qfwj-96m4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gcm2-v5q2-3rqgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h8pg-h598-9m8hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m6qq-phqx-fv8wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mm52-jffv-39vxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mxff-8qm9-rm48same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p8qp-6vr7-7q5wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qrw3-4xx7-9wp8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rpmw-9ppf-55j8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rqfv-7jph-wp56same flawChainguard · CC-BY-NC-ND-4.0
- CGA-v39m-r334-2mwrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vmv4-c87m-mrhpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w79g-ff9f-9x7rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wgxm-53vm-fv53same flawChainguard · CC-BY-NC-ND-4.0
- CGA-wpq5-xwcp-7m87same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2016-10640same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-wrj6-35fr-8xw5same flawGitHub Advisory Database · CC-BY-4.0
- MINI-wvq8-69fq-5f57same flawMinimOS · LicenseRef-unstated
- ALSA-2025:8395advisory covering several CVEsAlmaLinux · MIT
- DLA-1725-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-2085-1advisory covering several CVEsDebian · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2017-05-23
- Last modified
- 2026-10-08
- NVD status
- Modified
- GitHub advisory
- GHSA-wrj6-35fr-8xw5
Frequently asked questions
What is CVE-2016-9840?
Is CVE-2016-9840 actively exploited?
What is the CVSS score for CVE-2016-9840?
Running zlib? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wrj6-35fr-8xw5
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0