Bug 1699862 (CVE-2019-11026)

Summary: CVE-2019-11026 poppler: infinite recursion in function FontInfoScanner::scanFonts in FontInfo.cc
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: caillon+fedoraproject, feborges, gnome-sig, 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-04-18 06:01: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: 1699863    
Bug Blocks: 1699865    

Description Dhananjay Arunesh 2019-04-15 12:04:31 UTC
FontInfoScanner::scanFonts in FontInfo.cc in Poppler 0.75.0 has infinite recursion, leading to a call to the error function in Error.cc.

Reference:
https://research.loginsoft.com/vulnerability/stack-based-buffer-overflow-in-error-poppler-0-75-0/
https://gitlab.freedesktop.org/poppler/poppler/issues/752

Comment 1 Dhananjay Arunesh 2019-04-15 12:04:48 UTC
Created poppler tracking bugs for this issue:

Affects: fedora-all [bug 1699863]

Comment 2 Huzaifa S. Sidhpurwala 2019-04-18 06:01:02 UTC
Upstream patch: https://gitlab.freedesktop.org/aacid/poppler/commit/8051f678b3b43326e5fdfd7c03f39de21059f426

This is really a stack-overflow due to infinite loop and not really a stack-based overflow as suggested by the researcher. Also based on the attack vector this is really a borderline security flaw.