CVE-2025-7039: Glib: buffer under-read on glib through glib/gfileutils.c via get_tmp_file()
Vulnerability summary
CVE-2025-7039 is a low (CVSS 3.7) vulnerability in glib2.0. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.5% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 5Timeline
- 03-09-2025PublishedVulnerability first disclosed.
- 02-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse9 products
- glib2&distro=SUSE Linux Enterprise Micro 5.2< 2.62.6-150200.3.33.1
- glib2&distro=SUSE Linux Enterprise Micro 5.3< 2.70.5-150400.3.26.1
- glib2&distro=SUSE Linux Enterprise Micro 5.4< 2.70.5-150400.3.26.1
- glib2&distro=SUSE Linux Enterprise Micro 5.5< 2.70.5-150400.3.26.1
- glib2&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 2.78.6-150600.4.22.1
Opensuse3 products
- glib2-doc&distro=openSUSE Leap 15.6< 2.78.6-150600.4.22.1
- glib2&distro=openSUSE Leap 15.6< 2.78.6-150600.4.22.1
- glib2&distro=openSUSE Tumbleweed< 2.84.4-1.1
Debian1 product
- glib2.0< 2.74.6-2+deb12u7 | < 2.84.4-3~deb13u1 | < 2.84.4-1
Ubuntu1 product
- glib2.0< 2.40.2-0ubuntu1.1+esm7 | < 2.48.2-0ubuntu4.8+esm5 | < 2.56.4-0ubuntu0.18.04.9+esm5 | < 2.64.6-1~ubuntu20.04.9+esm1 | < 2.72.4-0ubuntu2.7 | < 2.80.0-6ubuntu3.6
4 vendors · 14 products