CVE-2025-7345
Alma Linux vulnerability analysis and mitigation

Overview

A heap buffer overflow vulnerability (CVE-2025-7345) was discovered in gdk-pixbuf, specifically within the gdkpixbuf_jpegimageloadincrement function (io-jpeg.c) and glib's gbase64encodestep (glib/gbase64.c). The vulnerability was disclosed on July 8, 2025, affecting multiple versions of the GDK-PixBuf library across various Linux distributions (NVD, Snyk).

Technical details

The vulnerability occurs when processing maliciously crafted JPEG images, where a heap buffer overflow can occur during Base64 encoding, allowing out-of-bounds reads from heap memory. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified under CWE-120 (Buffer Copy without Checking Size of Input) (NVD, Red Hat).

Impact

The vulnerability can potentially lead to application crashes or arbitrary code execution. The CVSS scoring indicates that while there is no impact on confidentiality or integrity, there is a high impact on availability, potentially resulting in total loss of availability to the impacted component (Snyk).

Mitigation and workarounds

Fixed versions have been released for various Ubuntu distributions: Ubuntu 25.04 (2.42.12+dfsg-2ubuntu0.1), Ubuntu 24.04 LTS (2.42.10+dfsg-3ubuntu3.2), Ubuntu 22.04 LTS (2.42.8+dfsg-1ubuntu0.4), and Ubuntu 20.04 LTS (2.40.0+dfsg-3ubuntu0.5+esm1). Users are advised to update their systems to these versions or higher (Ubuntu).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management