Previously, the pdftoopvp filter used gmalloc for memory allocations. This could result in integer overflow flaws, leading to heap-based buffer overflows. If a malicious PDF file were processed, it could lead to arbitrary code execution with the privileges of the "lp" user. The following patch introduces the use of gmallocn and gmallocn3, which attempt to check for integer overflows:
This issue was discovered by Florian Weimer of the Red Hat Product Security Team.
This issue has been resolved in upstream cups-filters-1.0.47
Created cups-filters tracking bugs for this issue:
Affects: fedora-all [bug 1074840]