cve.bz

CVE-2025-7039 Path traversal

3.7 lowEPSS 0.4%

Low (3.7). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-09-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-7039 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-7039?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-7039?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-7039 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11glib2.02.66.8-1+deb11u7DLA-4412-1
Debian12glib2.02.74.6-2+deb12u7DEBIAN-CVE-2025-7039
Debian13glib2.02.84.4-3~deb13u1DEBIAN-CVE-2025-7039
Debian14glib2.02.84.4-1DEBIAN-CVE-2025-7039
Ubuntu22.04:LTSglib2.02.72.4-0ubuntu2.7UBUNTU-CVE-2025-7039 USN-7942-1
Ubuntu24.04:LTSglib2.02.80.0-6ubuntu3.6UBUNTU-CVE-2025-7039 USN-7942-1
Ubuntu25.10glib2.02.86.0-2ubuntu0.1USN-7942-1
UbuntuPro:14.04:LTSglib2.02.40.2-0ubuntu1.1+esm7UBUNTU-CVE-2025-7039
UbuntuPro:16.04:LTSglib2.02.48.2-0ubuntu4.8+esm5UBUNTU-CVE-2025-7039
UbuntuPro:18.04:LTSglib2.02.56.4-0ubuntu0.18.04.9+esm5UBUNTU-CVE-2025-7039
UbuntuPro:20.04:LTSglib2.02.64.6-1~ubuntu20.04.9+esm1UBUNTU-CVE-2025-7039
Red Hathummingbird:1glib2, glib2-doc, glib2-devel and 2 more0:2.88.0-1.1.hum1RHSA-2026:7461
SUSELinux Enterprise Micro 5.2glib22.62.6-150200.3.33.1SUSE-SU-2025:4186-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5glib22.70.5-150400.3.26.1SUSE-SU-2025:4347-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7glib22.78.6-150600.4.22.1SUSE-SU-2025:4308-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0glib2, glib2-doc2.84.4-160000.1.1SUSE-SU-2026:20032-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0glib2-branding-SLE16-160000.2.2SUSE-SU-2026:20032-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5glib22.48.2-12.49.1SUSE-SU-2025:4278-1
SUSELinux Micro 6.0glib22.76.2-10.1SUSE-SU-2025:21201-1
SUSELinux Micro 6.1glib22.78.6-slfo.1.1_5.1SUSE-SU-2025:21063-1
SUSELinux Micro 6.2glib22.84.4-160000.1.1SUSE-SU-2026:20074-1
SUSELinux Micro 6.2glib2-branding-SLE16-160000.2.2SUSE-SU-2026:20074-1
openSUSELeap 15.6glib2, glib2-doc2.78.6-150600.4.22.1SUSE-SU-2025:4308-1
openSUSELeap 16.0glib2, glib2-doc2.84.4-160000.1.1openSUSE-SU-2026:20018-1
openSUSETumbleweedglib22.84.4-1.1openSUSE-SU-2025:15432-1
Azure Linux2glib2.71.0-6AZL-66780
Azure Linux3glib2.78.6-4AZL-66783
Alpaquita23glib2.74.7-r3BELL-CVE-2025-7039
Alpaquita25, streamglib2.84.4-r0BELL-CVE-2025-7039

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Hardened Imagesglib2-main-2.88.0-1.1.hum1Fixed 2026-04-10RHSA-2026:7461
Red Hat Enterprise Linux 10bootcFix deferred
Red Hat Enterprise Linux 10glib2Fix deferred
Red Hat Enterprise Linux 10glycin-loadersFix deferred
Red Hat Enterprise Linux 10loupeFix deferred
Red Hat Enterprise Linux 10mingw-glib2Fix deferred
Red Hat Enterprise Linux 10rpm-ostreeFix deferred
Red Hat Enterprise Linux 6glib2Fix deferred
Red Hat Enterprise Linux 7glib2Fix deferred
Red Hat Enterprise Linux 8glib2Fix deferred
Red Hat Enterprise Linux 8librsvg2Fix deferred
Red Hat Enterprise Linux 8mingw-glib2Fix deferred
Red Hat Enterprise Linux 9bootcFix deferred
Red Hat Enterprise Linux 9glib2Fix deferred
Red Hat Enterprise Linux 9librsvg2Fix deferred
Red Hat Enterprise Linux 9mingw-glib2Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ai-gateway-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Under investigation
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Under investigation
28 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-7039.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-188-05Siemens SINEC OS2026-06-02Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesRUGGEDCOM RST2428P (6GK6242-6PA00)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON