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

Published Sep 1, 2025
·
Updated

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.

Other sources

An integer overflow in glib's temporary directory/file creation allows an out of boundary access, which might be used by an attacker to perform path traversal or access to private content of a temporary file by creating symbolic links which an affected application would follow.

Red Hat

Affected Software

4 affected componentsFixes available
Gnome GLib
Microsoft azl3 glib 2.78.6-3
Microsoft cbl2 glib 2.71.0-7
Microsoft cbl2 glib 2.71.0-5

Event History

Sep 1, 2025
Data Sourced
via Red Hat·04:26 PM
DescriptionSeverityAffected Software
Sep 3, 2025
CVE Published
via MITRE·01:52 AM
Data Sourced
via MITRE·01:52 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeakness
Sep 5, 2025
Data Sourced
via Microsoft·01:05 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:05 AM
SeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-7039?

CVE-2025-7039 is considered a high-severity vulnerability due to its potential for path traversal and unauthorized access to sensitive data.

2

How do I fix CVE-2025-7039?

To fix CVE-2025-7039, you should update to the latest version of Gnome GLib that has removed the integer overflow vulnerability.

3

Who is affected by CVE-2025-7039?

CVE-2025-7039 affects users of Gnome GLib in various applications that rely on it for file handling.

4

What attacks can be performed due to CVE-2025-7039?

Exploiting CVE-2025-7039 may allow an attacker to perform local path traversal or access private file contents through symbolic links.

5

Is CVE-2025-7039 a local or remote vulnerability?

CVE-2025-7039 is categorized as a local vulnerability that requires local access to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203