synced 9 MIN AGO
01 Record

CVE-2018-13785

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

MediumPUBLISHEDCNA: mitre
CNA base score6.5 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
4.37% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 91.2% of scored records. A rank, not a probability.
NVD base score
6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2018-07-09 13:00Z8 YR AGO
Last updated
2026-05-29 20:13Z5 MO AGO
Reserved
2018-07-09
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Medium (CVSS 6.5)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
Data version
5.2
Document digest
72f3987df37625f6e3bb0fda1fb3634679bcd4410950f0f2a9e6f1c72659c9eb

05 Affected products

VendorProductVersionsPlatforms
canonicalubuntu_linuxNot specified—
libpnglibpngNot specified—
oraclejdkNot specified—
oraclejreNot specified—
redhatenterprise_linuxNot specified—
redhatenterprise_linux_desktopNot specified—
redhatenterprise_linux_serverNot specified—
redhatenterprise_linux_workstationNot specified—
redhatnetwork_satelliteNot specified—
redhatrhel_extrasNot specified—
redhatrhel_extras_oracle_javaNot specified—
redhatrhev_hypervisorNot specified—

06 References

07 Fixed in

Debian 12

  • libpng1.6
    Fixed in 1.6.34-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • libpng1.6
    Fixed in 1.6.34-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • libpng1.6
    Fixed in 1.6.34-2

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • libpng1.6
    Fixed in 1.6.34-1ubuntu0.18.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.