cve.bz

CVE-2018-13785 Year 2038 problem, Y2K38, Y2038, Epochalypse

6.5 mediumEPSS 4.3%Fix available

Medium (6.5). EPSS 4.3% estimated probability of exploitation activity in the next 30 days.

On this page
In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may trigger an integer overflow and resultant divide-by-zero while processing a crafted PNG file, leading to a denial of service.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
4.3% (unchanged from 4.3% a week ago; 4.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-369 Divide By Zero
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-2018-13785 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-13785?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-13785?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-2018-13785 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libpng:libpng1.6.34
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
canonical:ubuntu_linux18.04
oracle:jdk1.6.0:update201
oracle:jdk1.7.0:update191
oracle:jdk1.8.0:update181
oracle:jdk11.0.0
oracle:jre1.6.0:update201
oracle:jre1.7.0:update191
oracle:jre1.8.0:update181
oracle:jre11.0.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation6.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libpng1.61.6.34-2DEBIAN-CVE-2018-13785
Ubuntu14.04:LTSlibpng1.2.50-1ubuntu2.14.04.3USN-3712-1
Ubuntu16.04:LTSlibpng1.2.54-1ubuntu1.1USN-3712-1
Ubuntu18.04:LTSlibpng1.61.6.34-1ubuntu0.18.04.1UBUNTU-CVE-2018-13785 USN-3712-1
Red Hatnetwork_satellite:5.6::el6, network_satellite:5.7::el6java-1.7.1-ibm, java-1.7.1-ibm-devel1:1.7.1.4.35-1jpp.1.el6_10RHSA-2018:3779
Red Hatnetwork_satellite:5.8::el6java-1.8.0-ibm, java-1.8.0-ibm-devel1:1.8.0.5.25-1jpp.1.el6_10RHSA-2018:3852
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.35-1jpp.1.el6_10RHSA-2018:3671
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.5.25-1jpp.1.el6_10RHSA-2018:3533
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.35-1jpp.1.el7RHSA-2018:3672
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.5.25-1jpp.1.el7RHSA-2018:3534
Red Hatrhel_extras_oracle_java:6java-1.6.0-sun, java-1.6.0-sun-src, java-1.6.0-sun-demo and 3 more1:1.6.0.211-1jpp.1.el6RHSA-2018:3008
Red Hatrhel_extras_oracle_java:6java-1.7.0-oracle, java-1.7.0-oracle-src, java-1.7.0-oracle-jdbc and 3 more1:1.7.0.201-1jpp.1.el6RHSA-2018:3000
Red Hatrhel_extras_oracle_java:6java-1.8.0-oracle, java-1.8.0-oracle-src, java-1.8.0-oracle-jdbc and 3 more1:1.8.0.191-1jpp.1.el6RHSA-2018:3003
Red Hatrhel_extras_oracle_java:7java-1.6.0-sun, java-1.6.0-sun-src, java-1.6.0-sun-demo and 3 more1:1.6.0.211-1jpp.1.el7RHSA-2018:3007
Red Hatrhel_extras_oracle_java:7java-1.7.0-oracle, java-1.7.0-oracle-src, java-1.7.0-oracle-jdbc and 3 more1:1.7.0.201-1jpp.1.el7RHSA-2018:3001
Red Hatrhel_extras_oracle_java:7java-1.8.0-oracle, java-1.8.0-oracle-src, java-1.8.0-oracle-jdbc and 3 more1:1.8.0.191-1jpp.1.el7RHSA-2018:3002
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 10 morejava-1_7_0-openjdk1.7.0.201-43.18.1SUSE-SU-2019:0049-1
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 9 morejava-1_8_0-openjdk1.8.0.191-27.29.1SUSE-SU-2019:0057-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12 SP2-BCL and 10 morejava-1_7_1-ibm1.7.1_sr4.35-38.29.1SUSE-SU-2018:3933-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12 SP2-BCL and 9 morejava-1_8_0-ibm1.8.0_sr5.25-30.39.1SUSE-SU-2018:4064-1
SUSELinux Enterprise Module for Basesystem 15libpng161.6.34-3.9.1SUSE-SU-2019:1398-1
SUSELinux Enterprise Module for Basesystem 15 SP1libpng161.6.34-3.9.1SUSE-SU-2019:1398-2
SUSELinux Enterprise Module for Legacy 15java-1_8_0-ibm1.8.0_sr5.25-3.9.1SUSE-SU-2018:3868-1
SUSELinux Enterprise Module for Legacy 15, Linux Enterprise Module for Package Hub 15java-1_8_0-openjdk1.8.0.191-3.13.1SUSE-SU-2019:0058-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.35-65.31.1SUSE-SU-2018:3920-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.35-26.32.1SUSE-SU-2018:3921-1
SUSELinux Enterprise Server for SAP Applications 12 SP1java-1_7_0-openjdk1.7.0.201-43.18.1SUSE-SU-2019:0049-2
SUSELinux Enterprise Server for SAP Applications 12 SP1java-1_7_1-ibm1.7.1_sr4.35-38.29.1SUSE-SU-2018:3933-2
2 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.0java-1_8_0-openjdk1.8.0.191-lp150.2.9.2openSUSE-SU-2019:0043-1
openSUSELeap 15.0, Leap 15.1libpng161.6.34-lp151.3.3.1openSUSE-SU-2019:1530-1
openSUSETumbleweedjava-1_8_0-openjdk1.8.0.302-2.2openSUSE-SU-2024:10876-1
openSUSETumbleweedlibpng161.6.37-3.3openSUSE-SU-2024:10972-1
Alpinev3.5, v3.6, v3.7 and 17 moreopenjdk88.191.12-r0ALPINE-CVE-2018-13785
Alpinev3.6, v3.7, v3.8 and 10 moreopenjdk77.201.2.6.16-r0ALPINE-CVE-2018-13785

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; the Alpine secdb, CC BY-SA 4.0. 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.

ProductPackageStateAdvisory
Oracle Java for Red Hat Enterprise Linux 6java-1.7.0-oracle-1:1.7.0.201-1jpp.1.el6Fixed 2018-10-24RHSA-2018:3000
Oracle Java for Red Hat Enterprise Linux 6java-1.8.0-oracle-1:1.8.0.191-1jpp.1.el6Fixed 2018-10-24RHSA-2018:3003
Oracle Java for Red Hat Enterprise Linux 6java-1.6.0-sun-1:1.6.0.211-1jpp.1.el6Fixed 2018-10-24RHSA-2018:3008
Oracle Java for Red Hat Enterprise Linux 7java-1.7.0-oracle-1:1.7.0.201-1jpp.1.el7Fixed 2018-10-24RHSA-2018:3001
Oracle Java for Red Hat Enterprise Linux 7java-1.8.0-oracle-1:1.8.0.191-1jpp.1.el7Fixed 2018-10-24RHSA-2018:3002
Oracle Java for Red Hat Enterprise Linux 7java-1.6.0-sun-1:1.6.0.211-1jpp.1.el7Fixed 2018-10-24RHSA-2018:3007
Red Hat Enterprise Linux 6 Supplementaryjava-1.8.0-ibm-1:1.8.0.5.25-1jpp.1.el6_10Fixed 2018-11-09RHSA-2018:3533
Red Hat Enterprise Linux 6 Supplementaryjava-1.7.1-ibm-1:1.7.1.4.35-1jpp.1.el6_10Fixed 2018-11-26RHSA-2018:3671
Red Hat Enterprise Linux 7 Supplementaryjava-1.8.0-ibm-1:1.8.0.5.25-1jpp.1.el7Fixed 2018-11-09RHSA-2018:3534
Red Hat Enterprise Linux 7 Supplementaryjava-1.7.1-ibm-1:1.7.1.4.35-1jpp.1.el7Fixed 2018-11-26RHSA-2018:3672
Red Hat Satellite 5.6java-1.7.1-ibm-1:1.7.1.4.35-1jpp.1.el6_10Fixed 2018-12-05RHSA-2018:3779
Red Hat Satellite 5.7java-1.7.1-ibm-1:1.7.1.4.35-1jpp.1.el6_10Fixed 2018-12-05RHSA-2018:3779
Red Hat Enterprise Linux 5libpngNot affected
Red Hat Enterprise Linux 6java-1.6.0-ibmWill not fix
Red Hat Enterprise Linux 6libpngNot affected
Red Hat Enterprise Linux 7libpngNot affected
Red Hat Enterprise Linux 7libpng12Not affected
Red Hat Enterprise Linux 8libpngNot affected
Red Hat Enterprise Linux 8libpng12Not affected
Red Hat Virtualization 4libpngNot affected
1 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-2018-13785.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON