Bug 1691671 (CVE-2019-9878)

Summary: CVE-2019-9878 xpdf: invalid memmory access in the function GfxIndexedColorSpace::mapColorToBase() in GfxState.cc leads to dos
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: pertusus, tcallawa
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: 2019-06-10 10:51:42 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: 1691672, 1691673    
Bug Blocks:    

Description Dhananjay Arunesh 2019-03-22 08:12:32 UTC
There is an invalid memory access in the function GfxIndexedColorSpace::mapColorToBase() located in GfxState.cc in Xpdf 4.0.0, as used in pdfalto 0.2. It can be triggered by (for example) sending a crafted pdf file to the pdftops binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact. 

Reference:
https://github.com/kermitt2/pdfalto/issues/46
https://research.loginsoft.com/vulnerability/invalid-memory-access-in-gfxindexedcolorspacemapcolortobase-pdfalto-0-2/

Comment 1 Dhananjay Arunesh 2019-03-22 08:13:28 UTC
Created xpdf tracking bugs for this issue:

Affects: fedora-all [bug 1691672]

Comment 2 Dhananjay Arunesh 2019-03-22 08:14:08 UTC
Created xpdf tracking bugs for this issue:

Affects: epel-all [bug 1691673]

Comment 3 Product Security DevOps Team 2019-06-10 10:51:42 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.