Bug 1561206 (CVE-2018-8975)

Summary: CVE-2018-8975 netpbm: heap-buffer-overflow in pm_mallocarray2 function in lib/util/mallocvar.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jridky, phracek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 19:59:02 UTC 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: 1561207, 1561208, 1588805, 1910625    
Bug Blocks: 1561211    

Description Laura Pardo 2018-03-27 21:38:56 UTC
A flaw was found in Netpbm through 10.81.03. The pm_mallocarray2 function in lib/util/mallocvar.c allows remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted image file, as demonstrated by pbmmask.


References:
https://github.com/xiaoqx/pocs/tree/master/netpbm

Comment 1 Laura Pardo 2018-03-27 21:39:37 UTC
Created netpbm tracking bugs for this issue:

Affects: fedora-all [bug 1561207]

Comment 8 Tomas Hoger 2020-04-21 12:39:18 UTC
SUSE bug:
https://bugzilla.novell.com/show_bug.cgi?id=1086777#c7

indicates this to be the upstream commit:
https://sourceforge.net/p/netpbm/code/3279/