Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1899520 (CVE-2020-25725) - CVE-2020-25725 xpdf: sending crafted a PDF document to the pdftops tool could result in DoS
Summary: CVE-2020-25725 xpdf: sending crafted a PDF document to the pdftops tool could...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-25725
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1899521 1899522 1899523
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-19 13:28 UTC by Michael Kaplan
Modified: 2021-02-17 19:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-19 17:28:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2020-11-19 13:28:55 UTC
In Xpdf 4.02, SplashOutputDev::endType3Char(GfxState *state) SplashOutputDev.cc:3079 is trying to use the freed `t3GlyphStack->cache`, which causes an `heap-use-after-free` problem. The codes of a previous fix for nested Type 3 characters wasn't correctly handling the case where a Type 3 char referred to another char in the same Type 3 font.

Comment 1 Michael Kaplan 2020-11-19 13:28:58 UTC
Acknowledgments:

Name: Mike Zhang (Pangu Lab)

Comment 2 Michael Kaplan 2020-11-19 13:29:00 UTC
External References:

https://forum.xpdfreader.com/viewtopic.php?f=3&t=41915

Comment 3 Michael Kaplan 2020-11-19 13:30:47 UTC
Created xpdf tracking bugs for this issue:

Affects: epel-6 [bug 1899523]
Affects: epel-7 [bug 1899522]
Affects: fedora-all [bug 1899521]

Comment 4 Product Security DevOps Team 2020-11-19 17:28:49 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.


Note You need to log in before you can comment on or make changes to this bug.