CVE-2018-13785: In libpng 1.6.34, a wrong calculation of row_factor in the png_check_chunk_length function (pngrutil.c) may...
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.
Security readout for executives and security teams
Plain-English summary
This is a denial-of-service flaw in libpng 1.6.34. A crafted PNG file can make affected PNG-processing software crash or stop handling images. The cited impact is availability only, not data theft or tampering.
Executive priority
Treat as a moderate availability risk. Patch during normal security maintenance, faster for public-facing image processing or business-critical media workflows. There is no cited evidence of active exploitation or confidentiality impact in the supplied bundle.
Technical view
The issue is a wrong row_factor calculation in png_check_chunk_length in pngrutil.c. It can cause an integer overflow followed by divide-by-zero when processing a crafted PNG file. CVSS 3.1 is 6.5 with network attack vector, low complexity, no privileges, required user interaction, and high availability impact.
Likely exposure
Exposure is most likely where libpng 1.6.34 or vendor-packaged affected libpng builds process untrusted PNGs, including image upload pipelines, document/media services, desktop viewers, and products embedding libpng. The bundle does not provide complete product/version coverage.
Exploitation context
CISA KEV status is false, and the provided sources do not state active exploitation. Public references include vendor advisories, a SourceForge bug, and an upstream commit, indicating the issue is publicly known and patched in some ecosystems.
Researcher notes
The record names libpng 1.6.34 and maps to CWE-190 and CWE-369. Affected product metadata is sparse, so validation should rely on package advisories, source lineage, and whether PNG input is attacker-controlled. Avoid assuming broader impact without vendor confirmation.
Mitigation direction
Apply vendor-provided libpng security updates for affected operating systems and products.
Check Red Hat, Ubuntu, Gentoo, NetApp, and Oracle guidance for applicable packages.
Prioritize systems that process externally supplied PNG files.
Temporarily restrict or isolate untrusted PNG processing if updates are unavailable.
Confirm embedded products with vendors because affected CPE data is incomplete.
Validation and detection
Inventory installed libpng versions and distro package advisories.
Identify applications and services that parse user-supplied PNG files.
Verify vendor security updates referencing CVE-2018-13785 are installed.
Review crash or availability alerts around image-processing workflows.
Confirm third-party appliances or bundled software include fixed libpng builds.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-190: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-190 · source CWE mapping
Integer Overflow or Wraparound
Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Divide By Zero represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.