There is a stack-based buffer over-read in calling GLib in the function gxps_images_guess_content_type of gxps-images.c in libgxps through 0.3.0 because it does not reject negative return values from a g_input_stream_read call. A crafted input will lead to a remote denial of service attack. Original bug: https://bugzilla.redhat.com/show_bug.cgi?id=1575188
Created libgxps tracking bugs for this issue: Affects: fedora-all [bug 1576176]
Acknowledgments: Name: chenyuan (NESA Lab)
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2018:3140 https://access.redhat.com/errata/RHSA-2018:3140