CVE-2025-7345

NameCVE-2025-7345
DescriptionA flaw exists in gdk‑pixbuf within the gdk_pixbuf__jpeg_image_load_increment function (io-jpeg.c) and in glib’s g_base64_encode_step (glib/gbase64.c). When processing maliciously crafted JPEG images, a heap buffer overflow can occur during Base64 encoding, allowing out-of-bounds reads from heap memory, potentially causing application crashes or arbitrary code execution.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gdk-pixbuf (PTS)bullseye2.42.2+dfsg-1+deb11u2vulnerable
bullseye (security)2.42.2+dfsg-1+deb11u3vulnerable
bookworm2.42.10+dfsg-1+deb12u1vulnerable
bookworm (security)2.42.10+dfsg-1+deb12u2vulnerable
sid, trixie2.42.12+dfsg-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gdk-pixbufsource(unstable)(unfixed)

Notes

https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249

Search for package or bug name: Reporting problems