Skip to main content
Mallory
HighVulnerability

CVE-2016-9840: Out-of-bounds pointer arithmetic in zlib

Published May 23, 2017 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS4.9%93rd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
BoostOracle CorporationDebian ProjectRed HatAppleNodejsOpensuseCanonical
IdentifiersCVE-2016-9840CWE-823

CVE-2016-9840 is an out-of-bounds pointer-arithmetic vulnerability in zlib 1.2.8. Applications using the affected library may encounter the flaw when processing specially crafted compressed content. Exploitation is context-dependent and can cause denial of service, including when a victim opens a malicious document in an affected application.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can cause denial of service in applications incorporating the vulnerable zlib code. The precise consequences depend on the application's use of the library. Arbitrary code execution and information disclosure are not specifically established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

No zlib-specific workaround is identified. Where patching cannot be completed immediately, limit processing of untrusted compressed or document content by affected applications and restrict access to vulnerable systems.

Remediation

Patch, then assume compromise.

Install a vendor-supported zlib package or application update that explicitly fixes CVE-2016-9840, including updates to bundled copies of the library. Identified product fixes include Siemens CADRA V2511 or later; BigFix Platform 9.5.6 or later, or patch 11 for branches 9.1 and 9.2; and OpenShift Container Platform 4.17.32 or 4.18.16 through the appropriate release channel. For affected Dell Data Domain Management Center deployments, the listed fixed versions are DD OS 8.6.0.0 or later, 8.3.1.30 or later, or 7.13.1.60 or later, according to release branch. Affected HCL Portal deployments require the IBM Java SDK updates specified in the applicable WebSphere Application Server security guidance.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AppleIphone Osoperating_system
AppleMac Os Xoperating_system
AppleTvosoperating_system
AppleWatchosoperating_system
BoostBoostapplication
CanonicalUbuntu Linuxoperating_system
Debian ProjectDebian Linuxoperating_system
NodejsNodejsapplication
OpensuseOpensuseoperating_system
OpensuseOpensuse Leapoperating_system
Oracle CorporationDatabase Serverapplication
Oracle CorporationJdkapplication
Oracle CorporationJreapplication
Oracle CorporationMysqlapplication
Red HatEnterprise Linux Desktopoperating_system
Red HatEnterprise Linux Eusoperating_system
Red HatEnterprise Linux Serveroperating_system
Red HatEnterprise Linux Workstationoperating_system
Red HatSatelliteapplication
ZlibZlibapplication
FAQ

Frequently asked questions

Is CVE-2016-9840 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2016-9840 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2016-9840?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2016-9840.
Is there a patch for CVE-2016-9840?
Install a vendor-supported zlib package or application update that explicitly fixes CVE-2016-9840, including updates to bundled copies of the library. Identified product fixes include Siemens CADRA V2511 or later; BigFix Platform 9.5.6 or later, or patch 11 for branches 9.1 and 9.2; and OpenShift Container Platform 4.17.32 or 4.18.16 through the appropriate release channel.
What products are affected by CVE-2016-9840?
Zlib, Boost, Oracle Corporation Database Server, Debian Project Debian Linux, Red Hat Enterprise Linux Desktop, and at least 15 more.
How severe is CVE-2016-9840?
CVE-2016-9840 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 4.9% (93rd percentile) as of Oct 25, 2026.
Activity feed

Recent activity

17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.