Security researcher Gustavo Grieco reported a heap overflow in gdk-pixbuf affecting Linux systems using Gnome. This issue is triggered by the scaling of a malformed bitmap format image and results in a potentially exploitable crash. This issue only affects Linux systems running Gnome. Windows and OS X operating systems are unaffected. External Reference: https://www.mozilla.org/security/announce/2015/mfsa2015-88.html Acknowledgements: Red Hat would like to thank the Mozilla project for reporting this issue. Upstream acknowledges Gustavo Grieco as the original reporter.
This issue has been addressed in the following products: Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 7 Via RHSA-2015:1586 https://rhn.redhat.com/errata/RHSA-2015-1586.html
This issue pertains to: https://bugzilla.gnome.org/show_bug.cgi?id=752297 When gdk-pixbuf is used to parse and scale a crafted bmp for example when using the gdk_pixbuf_new_from_file_at_scale() etc, it results in large amounts of memory being malloc'ed ultimately resulting in DoS and program abort. The cause of this flaw is a integer overflow issue in make_filter_table() int *weights = g_new (int, SUBSAMPLE * SUBSAMPLE * n_x * n_y); The above can result in an integer overflow (n_x and n_y come from the bmp file) And also due to no checks performed in gdk_pixbuf_new() Secondly when the values of the height and length are carefully chosen, this can also result in a heap-based buffer overflow, and under some conditions result in arbitrary code being executed, in the context of the user running the application. Applications compiled against gdk-pixbuf, which scale user-controlled bitmap files are affected by this issue.
Created gdk-pixbuf2 tracking bugs for this issue: Affects: fedora-all [bug 1253206]
*** Bug 1242449 has been marked as a duplicate of this bug. ***
Upstream commit: https://git.gnome.org/browse/gdk-pixbuf/commit/?id=ffec86e
gdk-pixbuf2-2.31.6-1.fc22 has been submitted as an update to Fedora 22. https://bugzilla.redhat.com/show_bug.cgi?id=1252290
gdk-pixbuf2-2.31.6-1.fc21 has been submitted as an update to Fedora 21. https://bugzilla.redhat.com/show_bug.cgi?id=1252290
gdk-pixbuf2-2.31.6-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update gdk-pixbuf2'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13925
gdk-pixbuf2-2.31.6-1.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update gdk-pixbuf2'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13926
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Via RHSA-2015:1682 https://rhn.redhat.com/errata/RHSA-2015-1682.html
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 6 Via RHSA-2015:1694 https://rhn.redhat.com/errata/RHSA-2015-1694.html
Statement: This issue did not affect the versions of gdk-pixbuf as shipped with Red Hat Enterprise Linux 5.
gdk-pixbuf2-2.31.6-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
gdk-pixbuf2-2.31.6-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.