CVE-2025-7039 json
Glib: buffer under-read on glib through glib/gfileutils.c via get_tmp_file()
published 2025-09-03 14 mo ago modified 2026-10-18 21 d ago also EUVD-2025-26475
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Siemens RUGGEDCOM RST2428P V4.0
- glib2.0 Debian 12 2.74.6-2+deb12u7
- glib2.0 Debian 13 2.84.4-3~deb13u1
- glib2.0 Debian 14 2.84.4-1
debian advisories DEBIAN-CVE-2025-7039
- glib2.0 Ubuntu 22.04 LTS 2.72.4-0ubuntu2.7
- glib2.0 Ubuntu 24.04 LTS 2.80.0-6ubuntu3.6
- glib2.0 Ubuntu Pro 14.04 LTS 2.40.2-0ubuntu1.1+esm7
- glib2.0 Ubuntu Pro 16.04 LTS 2.48.2-0ubuntu4.8+esm5
- glib2.0 Ubuntu Pro 18.04 LTS 2.56.4-0ubuntu0.18.04.9+esm5
- glib2.0 Ubuntu Pro 20.04 LTS 2.64.6-1~ubuntu20.04.9+esm1
ubuntu advisories UBUNTU-CVE-2025-7039
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- glib2 hummingbird 1 2.88.0-1.1.hum1
- glib2-tests hummingbird 1 2.88.0-1.1.hum1
red hat advisories RHSA-2026:7461
- glib2 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 2.84.4-160000.1.1
- glib2-branding-SLE SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 16-160000.2.2
- glib2 SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 2.70.5-150400.3.26.1
- glib2 Linux Micro 6.0 2.76.2-10.1
- glib2 SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.78.6-150600.4.22.1
- glib2 SLE Micro 5.2 2.62.6-150200.3.33.1
- glib2 Linux Micro 6.1 2.78.6-slfo.1.1_5.1
- glib2 SLES LTSS Extended Security 12 SP5 2.48.2-12.49.1
suse advisories SUSE-SU-2026:20032-1SUSE-SU-2026:20074-1SUSE-SU-2025:4347-1SUSE-SU-2025:21201-1SUSE-SU-2025:4308-1SUSE-SU-2025:4278-1
- glib2 openSUSE Leap 16.0 2.84.4-160000.1.1
- glib2 openSUSE Tumbleweed 2.84.4-1.1
opensuse advisories openSUSE-SU-2026:20018-1openSUSE-SU-2025:15432-1
- glib CBL-Mariner 2.0 2.71.0-6
- glib Azure Linux 3.0 2.78.6-4
azure linux advisories AZL-66780AZL-66783
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-7039 updated cvss 3.7
glib: Buffer Under-read on GLib through glib/gfileutils.c via get_tmp_file()
-
Red Hat Enterprise Linux 6 glib2 Red Hat Enterprise Linux 7 glib2, glib2-fam, glib2-tests Red Hat Enterprise Linux 8 glib2, librsvg2, glib2-fam, glib2-tests, mingw-glib2, mingw32-glib2, +2 more Red Hat Enterprise Linux 9 bootc, glib2, librsvg2, glib2-tests, mingw-glib2, mingw32-glib2, +3 more Red Hat Enterprise Linux 10 bootc, glib2, loupe, rpm-ostree, mingw-glib2, mingw32-glib2, +2 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +6 moreunder investigation
-
Red Hat Hardened Images glib2 2.88.0-1.1.hum1, glib2-tests 2.88.0-1.1.hum1fixed: vendor fix RHSA-2026:7461
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-kube-rbac-proxy-rhel9, rhoai/odh-maas-controller-rhel9, rhoai/odh-mlflow-operator-rhel9, rhoai/odh-model-controller-rhel9, rhoai/odh-ogx-k8s-operator-rhel9, +14 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-188-05 updated cvss 3.7
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 4.0affected: fixed in V4.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 14 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected products
- 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
- Siemens RUGGEDCOM RST2428P
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
Sources
- CVE List CVE-2025-7039
- NVD CVE-2025-7039
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.