Bug 1531382 (CVE-2017-1000456)

Summary: CVE-2017-1000456 poppler: Invalid read in TextPool::addWord() causes crash and can lead to overflow in subsequent calculations
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alexl, caolanm, feborges, john.j5live, mclasen, mkasik, rdieter, rhughes, rstrode, sandmann
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-08 03:36:17 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: 1531383, 1534840    
Bug Blocks: 1531387    

Description Sam Fowler 2018-01-05 04:29:08 UTC
libpoppler in poppler version 0.60.1 is vulnerable to an invalid read and subsequent crash when parsing a specially crafted PDF. The invalid read is caused by incorrect boundary validation in TextOutputDev.cc:TextPool::addWord(), leading to overflow in subsequent calculations.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-1000456
http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-1000456.html
http://www.cvedetails.com/cve/CVE-2017-1000456/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000456
https://bugs.freedesktop.org/show_bug.cgi?id=103116
https://bugs.freedesktop.org/attachment.cgi?id=134691

Comment 1 Sam Fowler 2018-01-05 04:29:34 UTC
Created poppler tracking bugs for this issue:

Affects: fedora-all [bug 1531383]

Comment 3 Huzaifa S. Sidhpurwala 2018-01-16 04:28:28 UTC
Analysis:

This is really an OOB read when trying to render specially-crafted text in a PDF file. No remote code execution.