Bug 2155525 (CVE-2020-35511)

Summary: CVE-2020-35511 pngcheck: global-buffer-overflow in pngcheck() in pngcheck.c
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: code
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pngcheck 3.0.0 Doc Type: If docs needed, set a value
Doc Text:
A global buffer overflow vulnerability was discovered in pngcheck in pngcheck() function of pngcheck.c file. An attacker could exploit the vulnerability via a crafted png file that triggers an out-of-bounds read, leading to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2155526    
Bug Blocks:    

Description TEJ RATHI 2022-12-21 12:41:34 UTC
A global buffer overflow (out-of-bounds read) was discovered in pngcheck-2.4.0 and before in pngcheck() function in pngcheck.c via a crafted png file.

Fixed in pngcheck v3.0.0 (upstream).

https://bugzilla.redhat.com/show_bug.cgi?id=1905775 (original report)
http://www.libpng.org/pub/png/apps/pngcheck.html

Comment 1 TEJ RATHI 2022-12-21 12:41:52 UTC
Created pngcheck tracking bugs for this issue:

Affects: epel-all [bug 2155526]

Comment 2 Ben Beasley 2022-12-21 15:54:08 UTC
This patch was backported into pngcheck 2.4 in EPEL8/7 at the time.

https://bugzilla.redhat.com/show_bug.cgi?id=1905775#c13