CVE-2025-7039

NameCVE-2025-7039
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1110640

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
glib2.0 (PTS)bullseye2.66.8-1+deb11u4vulnerable
bullseye (security)2.66.8-1+deb11u6vulnerable
bookworm2.74.6-2+deb12u7fixed
bookworm (security)2.74.6-2+deb12u2vulnerable
trixie2.84.4-3~deb13u1fixed
forky, sid2.84.4-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
glib2.0sourcebookworm2.74.6-2+deb12u7
glib2.0sourcetrixie2.84.4-3~deb13u1
glib2.0source(unstable)2.84.4-11110640

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)

Search for package or bug name: Reporting problems