Global Buffer Overflow in pngcheck 2.4.0
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
1 exploit validated by Mallory's analysis.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.