CVE-2022-48622 is a high severity (CVSS 7.8) heap memory corruption in GNOME gdk-pixbuf through version 2.42.10. The ANI decoder for Windows animated cursor files mishandles chunks in a crafted file. I could not confirm a fixed version, so check your distribution.
What's affected
The record says gdk-pixbuf through 2.42.10 is affected. The flaw is in the function ani_load_chunk in io-ani.c, and the NVD text says the crafted file can overwrite heap metadata, leading to denial of service or code execution. The upstream issue is number 202 on GNOME's GitLab, which I could not load.
The NVD record was published on 26 January 2024. Linux distributions often ship their own patches, and some builds of gdk-pixbuf have the ANI loader disabled or built as a separate module, so the version number alone does not settle exposure.
How to check if you're exposed
Run pkg-config --modversion gdk-pixbuf-2.0 to see the library version. On Debian or Ubuntu use dpkg -l | grep gdk-pixbuf, and on Fedora use rpm -q gdk-pixbuf2. Then read your distribution's security tracker for this CVE to see whether the installed package has the fix.
Container images that carry GTK based tools can include this library too. Run your Safeguard scan or the free in-browser dependency scan at gold.safeguard.sh/scan against your manifests or SBOM to see whether this package is in your tree, including as a transitive dependency.
What to do now
- Check each host and container image for gdk-pixbuf and read its version.
- Install the distribution's updated package once it lists a fix for this CVE.
- Do not open image or cursor files from untrusted sources in desktop applications until patched.
- Rebuild container images that include the library so they pick up the update.
- Check whether your build disables the ANI loader, which removes the risky code path.
Why it matters
CWE-787 is an out-of-bounds write. The decoder reads chunk sizes from the file and writes into a heap buffer without enough checking, so a malformed file can overwrite nearby memory. Heap metadata corruption is a well known step toward code execution, though the record only states possibility.
The vector is local with user interaction, so someone has to open a crafted file with an application that uses the library. Image libraries are wide in reach, because file managers and thumbnailers can open files automatically. KEV is false.
Quick check
Is the ANI format common?
It is the Windows animated cursor format and is rare on most desktops, but the decoder is still compiled into many builds.
Is a fixed version confirmed?
Not from the sources I could read. Check your distribution's tracker.
Sources
You can also run the free in-browser dependency scan at gold.safeguard.sh/scan to see which known vulnerabilities your dependencies carry.
Last reviewed: 19 October 2026.