Findings

CVE-2022-48622

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

Published Jan 26, 2024 · updated Oct 15, 2026

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.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jan 26, 2024 · OSV.dev

    Detected

    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.

  2. Oct 15, 2026 · OSV.dev

    Fix available

    gdk-pixbuf fixed in 2.42.12-r0; gdk-pixbuf fixed in 2.42.12-r0; gdk-pixbuf fixed in 2.42.12-r0; gdk-pixbuf fixed in 2.42.12-r0

  3. Oct 15, 2026 · OSV.dev

    Fix available

    gdk-pixbuf fixed in 2.42.12-r0

  4. Oct 15, 2026 · OSV.dev

    Updated

    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

  • Alpine:v3.17 gdk-pixbuf0 → 2.42.12-r0
  • Alpine:v3.18 gdk-pixbuf0 → 2.42.12-r0
  • Alpine:v3.19 gdk-pixbuf0 → 2.42.12-r0
  • Alpine:v3.20 gdk-pixbuf0 → 2.42.12-r0
  • Alpine:v3.21 gdk-pixbuf0 → 2.42.12-r0
  • Alpine:v3.22 gdk-pixbuf0 → 2.42.12-r0
  • Alpine:v3.23 gdk-pixbuf0 → 2.42.12-r0

Sources

References