CVE-2016-9842
Description
The inflateMark function in inflate.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact via vectors involving left shifts of negative integers.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
5.204%
chance of exploitation in the next 30 days
higher than 92.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-1335: Incorrect Bitwise Shift of Integer
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-12-04 |
Timeline
- 2017-05-23Published by the CNA03:56 UTC
- 2025-12-04CISA SSVC decision recorded3117 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| zlib zlib | from 1.2.3.4 before 1.2.9fixed in 1.2.9 | 1.2.9 |
| apple iphone_os | before 11fixed in 11 | 11 |
| apple mac_os_x | from 10.0.0 before 10.13.0fixed in 10.13.0 | 10.13.0 |
| apple tvos | before 11.0fixed in 11.0 | 11.0 |
| apple watchos | before 4fixed in 4 | 4 |
| canonical ubuntu_linux | 16.04no fix listed18.04no fix listed | not listednot listed |
| debian debian_linux | 8.0no fix listed | not listed |
| nodejs node.js | from 4.2.0 before 4.8.2fixed in 4.8.2from 6.9.0 before 6.10.2fixed in 6.10.2from 7.0.0 before 7.6.0fixed in 7.6.0from 4.0.0 through 4.1.2no fix listedfrom 6.0.0 through 6.8.1no fix listed | 4.8.26.10.27.6.0not listednot listed |
| opensuse leap | 42.1no fix listed42.2no fix listed | not listednot listed |
| opensuse opensuse | 13.2no fix listed | not listed |
| oracle database_server | 18cno fix listed | not listed |
| oracle jdk | 1.6.0no fix listed1.7.0no fix listed1.8.0no fix listed | not listednot listednot listed |
| oracle jre | 1.6.0no fix listed1.7.0no fix listed1.8.0no fix listed | not listednot listednot listed |
| oracle mysql | from 5.5.0 through 5.5.61no fix listedfrom 5.6.0 through 5.6.41no fix listedfrom 5.7.0 through 5.7.23no fix listedfrom 8.0.0 through 8.0.12no fix listed | not listednot listednot listednot listed |
| redhat enterprise_linux_desktop | 6.0no fix listed7.0no fix listed | not listednot listed |
| redhat enterprise_linux_eus | 7.4no fix listed7.5no fix listed | not listednot listed |
| redhat enterprise_linux_server | 6.0no fix listed7.0no fix listed | not listednot listed |
| redhat enterprise_linux_workstation | 6.0no fix listed7.0no fix listed | not listednot listed |
| redhat satellite | 5.8no fix listed | not listed |
References
- http://www.openwall.com/lists/oss-security/2016/12/05/21
- https://bugzilla.redhat.com/show_bug.cgi?id=1402348
- https://github.com/madler/zlib/commit/e54e1299404101a5a9d0cf5e45512b543967f958
- http://lists.opensuse.org/opensuse-updates/2016-12/msg00127.html
- http://lists.opensuse.org/opensuse-updates/2017-01/msg00050.html
- http://lists.opensuse.org/opensuse-updates/2017-01/msg00053.html
- https://access.redhat.com/errata/RHSA-2017:1220
- https://access.redhat.com/errata/RHSA-2017:1221
- https://access.redhat.com/errata/RHSA-2017:1222
- https://access.redhat.com/errata/RHSA-2017:2999
- https://access.redhat.com/errata/RHSA-2017:3046
- https://access.redhat.com/errata/RHSA-2017:3047
- https://access.redhat.com/errata/RHSA-2017:3453
- https://security.gentoo.org/glsa/201701-56
- https://security.gentoo.org/glsa/202007-54
- https://usn.ubuntu.com/4246-1/
- https://usn.ubuntu.com/4292-1/
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://www.securityfocus.com/bid/95131
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-9842'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-9842'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-9842'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-9842'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).