Name | CVE-2025-7039 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1110640 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
glib2.0 (PTS) | bullseye | 2.66.8-1+deb11u4 | vulnerable |
| bullseye (security) | 2.66.8-1+deb11u6 | vulnerable |
| bookworm | 2.74.6-2+deb12u7 | fixed |
| bookworm (security) | 2.74.6-2+deb12u2 | vulnerable |
| trixie | 2.84.4-3~deb13u1 | fixed |
| forky, sid | 2.84.4-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
glib2.0 | source | bookworm | 2.74.6-2+deb12u7 | | | |
glib2.0 | source | trixie | 2.84.4-3~deb13u1 | | | |
glib2.0 | source | (unstable) | 2.84.4-1 | | | 1110640 |
Notes
[bullseye] - glib2.0 <postponed> (Minor issue; can be fixed in next update)
https://gitlab.gnome.org/GNOME/glib/-/issues/3716
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4674
Fixed by: https://gitlab.gnome.org/GNOME/glib/-/commit/61e963284889ddb4544e6f1d5261c16120f6fcc3 (2.85.2)