Skip to content
OpenAdvisories
Low · 3.7 CVE-2025-7039 EUVD-2025-26475GHSA-wcxv-32f4-xr5v

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

Published Sep 3, 2025 · Updated Jun 2, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 glib2.0 2.84.4-1 —
Debian 13 glib2.0 2.84.4-3~deb13u1 —
Debian 12 glib2.0 2.74.6-2+deb12u7 —
Debian 11 glib2.0 2.66.8-1+deb11u7 DLA-4412-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 glib2.0 2.86.0-2ubuntu0.1 USN-7942-1
Ubuntu 24.04 LTS glib2.0 2.80.0-6ubuntu3.6 USN-7942-1
Ubuntu 22.04 LTS glib2.0 2.72.4-0ubuntu2.7 USN-7942-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS glib2.0 2.64.6-1~ubuntu20.04.9+esm1 —
Ubuntu Pro 18.04 LTS glib2.0 2.56.4-0ubuntu0.18.04.9+esm5 —
Ubuntu Pro 16.04 LTS glib2.0 2.48.2-0ubuntu4.8+esm5 —
Ubuntu Pro 14.04 LTS glib2.0 2.40.2-0ubuntu1.1+esm7 —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 glib2 +4 2.88.0-1.1.hum1 RHSA-2026:7461
ReleasePackageFixed inAdvisory
SLES 15 SP7 glib2 2.78.6-150600.4.22.1 SUSE-SU-2025:4308-1
SLES 15 SP6 glib2 2.78.6-150600.4.22.1 SUSE-SU-2025:4308-1
SLES 12 SP5 glib2 2.48.2-12.49.1 SUSE-SU-2025:4278-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 glib2 +1 2.84.4-160000.1.1 SUSE-SU-2026:20032-1
SLES for SAP 16.0 glib2-branding-SLE 16-160000.2.2 SUSE-SU-2026:20032-1
SLES 16.0 glib2 +1 2.84.4-160000.1.1 SUSE-SU-2026:20032-1
SLES 16.0 glib2-branding-SLE 16-160000.2.2 SUSE-SU-2026:20032-1
SLE Micro 6.2 glib2 2.84.4-160000.1.1 SUSE-SU-2026:20074-1
SLE Micro 6.2 glib2-branding-SLE 16-160000.2.2 SUSE-SU-2026:20074-1
SLE Micro 6.1 glib2 2.78.6-slfo.1.1_5.1 SUSE-SU-2025:21063-1
SLE Micro 6.0 glib2 2.76.2-10.1 SUSE-SU-2025:21201-1
SLE Micro 5.5 glib2 2.70.5-150400.3.26.1 SUSE-SU-2025:4347-1
SLE Micro 5.4 glib2 2.70.5-150400.3.26.1 SUSE-SU-2025:4347-1
SLE Micro 5.3 glib2 2.70.5-150400.3.26.1 SUSE-SU-2025:4347-1
SLE Micro 5.2 glib2 2.62.6-150200.3.33.1 SUSE-SU-2025:4186-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glib2 2.84.4-1.1 openSUSE-SU-2025:15432-1
openSUSE Leap 16.0 glib2 +1 2.84.4-160000.1.1 openSUSE-SU-2026:20018-1
openSUSE Leap 15.6 glib2 +1 2.78.6-150600.4.22.1 SUSE-SU-2025:4308-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glib 2.78.6-4 —
Azure Linux 2 (CBL-Mariner) glib 2.71.0-6 —

Advisories 19

References