Bug 1524378 - libgxps: integer overflow when loading XPS documents containing specially crafted PNG files
Summary: libgxps: integer overflow when loading XPS documents containing specially cra...
Keywords:
Status: CLOSED ERRATA
Alias: None
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: 1591132 1591133
Blocks: 1487550
TreeView+ depends on / blocked
 
Reported: 2017-12-11 11:44 UTC by Stefan Cornelius
Modified: 2021-02-17 01:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:33:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Stefan Cornelius 2017-12-11 11:44:13 UTC
An integer overflow flaw exists within the "gxps_images_create_from_png()" function in libgxps/gxps-images.c. An attacker can exploit this flaw to cause a heap-based buffer overflow by tricking a user into opening a specially crafted XPS document in an application using libgxps.

Comment 1 Stefan Cornelius 2017-12-12 09:17:14 UTC
Actually, it seesm like RHEL7 is not affected. We have a patch (libgxps-0.2.4-GXPSImage.patch), which appears to always cause a crash shortly before reaching the vulnerable code path.

Comment 3 Stefan Cornelius 2018-04-04 08:59:08 UTC
Acknowledgments:

Name: Stefan Cornelius (Red Hat)

Comment 5 Stefan Cornelius 2018-06-14 06:57:03 UTC
Created libgxps tracking bugs for this issue:

Affects: fedora-all [bug 1591132]


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