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

- Severity: Low 3.7 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-09-03T01:52:02.824Z
- Modified: 2026-10-18T21:10:00.120Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- bootc: no versions given
- glib2: no versions given
- glycin-loaders: no versions given
- loupe: no versions given
- mingw-glib2: no versions given
- rpm-ostree: no versions given
- librsvg2: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2025-7039> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2392423> (issue-tracking)
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2025-7039](https://www.cve.org/CVERecord?id=CVE-2025-7039), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2025-7039](https://nvd.nist.gov/vuln/detail/CVE-2025-7039), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-7039 · Whole record: https://cve.day/CVE-2025-7039.json · Rebuilt by cve.day 2026-11-25T22:59:04.034Z
