CVE-2020-35511: Global Buffer Overflow in pngcheck 2.4.0
- Vendors
- Debian ProjectLibpng
CVE-2020-35511 is a global buffer overflow vulnerability in the pngcheck function of pngcheck version 2.4.0 (with 5 patches applied). The vulnerability can be triggered by processing a specially crafted PNG file, which causes the function to write outside the bounds of a global buffer.
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.
Exploitation of this vulnerability could lead to denial of service (crash) or potentially arbitrary code execution, depending on the context in which pngcheck is used and the attacker's ability to control the crafted PNG file.
Mitigation
If you can’t patch tonight, do this now.
Avoid processing untrusted PNG files with pngcheck. Employ input validation and consider running pngcheck in a sandboxed environment to limit the impact of potential exploitation.
Remediation
Patch, then assume compromise.
Upgrade to a patched version of pngcheck where the buffer overflow has been addressed. If no official patch is available, apply any vendor-supplied patches or mitigations that address this specific overflow.
Exploits
1 exploit validated by Mallory's analysis.
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.
References
Frequently asked questions
- Is CVE-2020-35511 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2020-35511 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2020-35511?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2020-35511, the earliest disclosed Jan 19, 2025.
- Is there a patch for CVE-2020-35511?
- Upgrade to a patched version of pngcheck where the buffer overflow has been addressed. If no official patch is available, apply any vendor-supplied patches or mitigations that address this specific overflow.
- What products are affected by CVE-2020-35511?
- Libpng Pngcheck and Debian Project Debian Linux.
- How severe is CVE-2020-35511?
- CVE-2020-35511 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.36% (30th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.