GNOME GdkPixbuf (aka GDK-PixBuf) before 2.42.8 allows a heap-based buffer overflow when compositing or clearing frames in GIF files, as demonstrated by io-gif-animation.c composite_frame. This overflow is controllable and could be abused for code execution, especially on 32-bit systems.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190 | third party advisory issue tracking exploit |
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121 | third party advisory exploit |
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bca00032ad68d0b0aa2c1f7558db931e52bd9cd2 | third party advisory patch |
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/5398f04d772f7f8baf5265715696ed88db0f0512 | third party advisory patch |
https://www.openwall.com/lists/oss-security/2022/07/23/1 | third party advisory mailing list |
http://www.openwall.com/lists/oss-security/2022/07/25/1 | third party advisory mailing list |
https://github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md | third party advisory exploit |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5IHHEYFD6GDZVALKIPPRD2U4JNZUZWR/ | vendor advisory |
https://www.debian.org/security/2022/dsa-5228 | third party advisory vendor advisory |