gnome: heap memory corruption on gdk-pixbuf
Published Jan 26, 2024
7.8
HIGHCVSS 3.1
EPSS 0.41%
Description
In GNOME GdkPixbuf (aka gdk-pixbuf) through 2.42.10, the ANI (Windows animated cursor) decoder encounters heap memory corruption (in ani_load_chunk in io-ani.c) when parsing chunks in a crafted .ani file. A crafted file could allow an attacker to overwrite heap metadata, leading to a denial of service or code execution attack. This occurs in gdk_pixbuf_set_option() in gdk-pixbuf.c.
Affected products
No data.
-
- Version 0StatusaffectedConstraints<=2.42.10
- Version
Red Hat Enterprise Linux 8
gdk-pixbuf2-0:2.36.12-6.el8_10
Fixed · RHSA-2024:3341
Red Hat Enterprise Linux 8
gdk-pixbuf2-0:2.36.12-6.el8_10
Fixed · RHSA-2024:3341
Red Hat Enterprise Linux 9
gdk-pixbuf2-0:2.42.6-4.el9_4
Fixed · RHSA-2024:3834
Red Hat Enterprise Linux 6
gdk-pixbuf2
Out of support scope
Red Hat Enterprise Linux 7
gdk-pixbuf2
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-0:2.36.12-6.el8_10 | Fixed | RHSA-2024:3341 |
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-0:2.36.12-6.el8_10 | Fixed | RHSA-2024:3341 |
| Red Hat Enterprise Linux 9 | gdk-pixbuf2-0:2.42.6-4.el9_4 | Fixed | RHSA-2024:3834 |
| Red Hat Enterprise Linux 6 | gdk-pixbuf2 | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | gdk-pixbuf2 | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The vulnerability in the GdkPixbuf library, allowing for heap-based out-of-bounds writes when loading crafted ANI files, poses a moderate severity risk. While the flaw could lead to memory corruption and potential denial of service or arbitrary code execution, its impact is somewhat mitigated by factors such as the need for the attacker to craft specifically malicious ANI files and the requirement for user interaction to open these files. Additionally, exploitation is limited to systems where GdkPixbuf is used to handle ANI files, reducing the overall attack surface.
Red Hat mitigation
This flaw can be mitigated by the user avoiding to load .ani files from untrusted sources.
References (5)
- https://access.redhat.com/security/cve/CVE-2022-48622 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2260545 Issue Tracking
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/202 ExploitIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2022-48622
- https://www.cve.org/CVERecord?id=CVE-2022-48622
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-48622 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2260545 | Issue Tracking | |
| https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/202 | ExploitIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-48622 | ||
| https://www.cve.org/CVERecord?id=CVE-2022-48622 |
Change history (0)
No recorded changes yet.