# CVE-2025-7039: Glib: buffer under-read on glib through glib/gfileutils.c via get\_tmp\_file()

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-03 · Modified: 2026-06-02
- Aliases: SUSE-SU-2025:21063-1, SUSE-SU-2025:21201-1, SUSE-SU-2025:4186-1, SUSE-SU-2025:4278-1, SUSE-SU-2025:4308-1, SUSE-SU-2025:4347-1, UBUNTU-CVE-2025-7039, DEBIAN-CVE-2025-7039, openSUSE-SU-2025:15432-1
- Record: https://cvemate.com/vulnerability/CVE-2025-7039 · JSON: https://cvemate.com/vulnerability/CVE-2025-7039/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.46%, percentile 41.593%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian glib2.0 (Debian): \< 2.74.6-2+deb12u7 \| \< 2.84.4-3~deb13u1 \| \< 2.84.4-1
- ubuntu glib2.0 (Ubuntu): \< 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
- opensuse glib2-doc&distro=openSUSE Leap 15.6 (openSUSE): \< 2.78.6-150600.4.22.1
- opensuse glib2&distro=openSUSE Leap 15.6 (openSUSE): \< 2.78.6-150600.4.22.1
- opensuse glib2&distro=openSUSE Tumbleweed (openSUSE): \< 2.84.4-1.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.2 (SUSE Linux Enterprise): \< 2.62.6-150200.3.33.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 2.70.5-150400.3.26.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 2.70.5-150400.3.26.1
- suse glib2&distro=SUSE Linux Enterprise Micro 5.5 (SUSE Linux Enterprise): \< 2.70.5-150400.3.26.1
- suse glib2&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6 (SUSE Linux Enterprise): \< 2.78.6-150600.4.22.1
- suse glib2&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7 (SUSE Linux Enterprise): \< 2.78.6-150600.4.22.1
- suse glib2&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 (SUSE Linux Enterprise): \< 2.48.2-12.49.1
- suse glib2&distro=SUSE Linux Micro 6.0 (SUSE Linux Enterprise): \< 2.76.2-10.1
- suse glib2&distro=SUSE Linux Micro 6.1 (SUSE Linux Enterprise): \< 2.78.6-slfo.1.1\_5.1

## References

- <https://access.redhat.com/security/cve/CVE-2025-7039>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2392423>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202521063-1/>
- <https://bugzilla.suse.com/1249055>
- <https://www.suse.com/security/cve/CVE-2025-7039>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202521201-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20254186-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20254278-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20254308-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20254347-1/>
- <https://ubuntu.com/security/CVE-2025-7039>
- <https://www.cve.org/CVERecord?id=CVE-2025-7039>
- <https://ubuntu.com/security/notices/USN-7942-1>
- <https://ubuntu.com/security/notices/USN-7942-2>
- <https://security-tracker.debian.org/tracker/CVE-2025-7039>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-7039>

---

Data as of 2026-12-05T04:02:20.375Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
