Skip to main content
No exploitation reportedFix available

CVE-2016-9840

No exploitation reported by the sources we read.

  • Published2017-05-23
  • Fixed in1.2.9

Am I 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
  1. 2017-05-2304:29CVE publishedNVD

Versions per branch

NVD
Zlib
BranchAffectedFixed in
1.2≥ 1.2.0.6, < 1.2.91.2.9
Node.js
BranchAffectedFixed in
7.x≥ 7.0.0, < 7.6.07.6.0
6.x≥ 6.9.0, < 6.10.26.10.2
4.x≥ 4.2.0, < 4.8.24.8.2
4.x≥ 4.0.0, ≤ 4.1.2no fix published
6.x≥ 6.0.0, ≤ 6.8.1no fix published
MySQL
BranchAffectedFixed in
5.5≥ 5.5.0, ≤ 5.5.61no fix published
5.6≥ 5.6.0, ≤ 5.6.41no fix published
5.7≥ 5.7.0, ≤ 5.7.23no fix published
8.0≥ 8.0.0, ≤ 8.0.12no fix published

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

  • CVE-2016-9840 Red Hat Product Security1,917 products fixed

    zlib: Out-of-bound pointer arithmetic in inftrees.c

  • RHSA-2025:13947 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: rsync security update

  • RHSA-2025:12013 Red Hat Product Security24 products fixed

    Red Hat Security Advisory: rsync security update

  • RHSA-2025:11048 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: rsync security update

  • RHSA-2025:10541 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: rsync security update

  • RHSA-2025:8280 Red Hat Product Security662 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.17.32 bug fix and security update

11 more advisories

Full record on NVD

Fix

  1. Update Zlib to 1.2.9
  2. 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
  3. 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.…
  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.…
  5. 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:
  6. 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…
  7. 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

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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

Is CVE-2016-9840 actively exploited?

Active exploitation of CVE-2016-9840 has not been confirmed. Its EPSS score was 4.9% on 2026-11-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2016-9840?

CVE-2016-9840 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

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

Sources for this record