Skip to content

CVE-2025-7039 Glib: buffer under-read on glib through glib/gfileutils.c via get_tmp_file()

LowCVSS 3.7 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

A flaw was found in glib. An integer overflow during temporary file creation leads to an out-of-bounds memory access, allowing an attacker to potentially perform path traversal or access private temporary file content by creating symbolic links. This vulnerability allows a local attacker to manipulate file paths and access unauthorized data. The core issue stems from insufficient validation of file path lengths during temporary file operations.

Upgrade path

9 packages: 7 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat enterprise linux = 6; = 7; = 8; = 9 +1 more No fix listed No fix yet
cbl-mariner glib(CBL-Mariner 2.0) < 2.71.0-6; < 2.71.0-8; All versions 2.71.0-6, 2.71.0-8 Partially fixed
azure linux glib(Azure Linux 3.0) < 2.78.6-4 2.78.6-4 Fixed
debian/glib2.0(Debian 12) < 2.74.6-2+deb12u7; = 2.74.6-2; = 2.74.6-2+deb12u1; = 2.74.6-2+deb12u2 +4 more 2.74.6-2+deb12u7 Fixed
debian/glib2.0(Debian 13) < 2.84.4-3~deb13u1; = 2.84.3-1; = 2.84.4-1; = 2.84.4-2 2.84.4-3~deb13u1 Fixed
debian/glib2.0(Debian 14) < 2.84.4-1; = 2.84.3-1 2.84.4-1 Fixed
Siemens RUGGEDCOM RST2428P < V4.0 V4.0 Fixed
ubuntu/glib2.0(Ubuntu 22.04) < 2.72.4-0ubuntu2.7 2.72.4-0ubuntu2.7 Fixed
ubuntu/glib2.0(Ubuntu 24.04) < 2.80.0-6ubuntu3.6 2.80.0-6ubuntu3.6 Fixed

Affected products

ProductAffected versionsFixed in
cbl-mariner glib(CBL-Mariner:2.0) All versions No fix listed
azure linux glib(Azure Linux:3.0) < 2.78.6-4 2.78.6-4
cbl-mariner glib(CBL-Mariner:2.0) < 2.71.0-8 2.71.0-8
cbl-mariner glib(CBL-Mariner:2.0) < 2.71.0-6 2.71.0-6
debian/glib2.0(Debian:12) < 2.74.6-2+deb12u7 2.74.6-2+deb12u7
debian/glib2.0(Debian:12) = 2.74.6-2 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u1 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u2 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u3 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u4 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u5 No fix listed
debian/glib2.0(Debian:12) = 2.74.6-2+deb12u6 No fix listed
debian/glib2.0(Debian:13) < 2.84.4-3~deb13u1 2.84.4-3~deb13u1
debian/glib2.0(Debian:13) = 2.84.3-1 No fix listed
debian/glib2.0(Debian:13) = 2.84.4-1 No fix listed
debian/glib2.0(Debian:13) = 2.84.4-2 No fix listed
debian/glib2.0(Debian:14) < 2.84.4-1 2.84.4-1
debian/glib2.0(Debian:14) = 2.84.3-1 No fix listed
redhat enterprise linux All versions No fix listed
redhat enterprise linux = 6 No fix listed
redhat enterprise linux = 7 No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
Siemens RUGGEDCOM RST2428P < V4.0 V4.0
ubuntu/glib2.0(Ubuntu:22.04) < 2.72.4-0ubuntu2.7 2.72.4-0ubuntu2.7
Show 1 more
ProductAffected versionsFixed in
ubuntu/glib2.0(Ubuntu:24.04) < 2.80.0-6ubuntu3.6 2.80.0-6ubuntu3.6

References