{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-7039 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-7039 is a low-severity path traversal vulnerability in Red Hat Enterprise Linux 10, published on 3 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-7039 and fix it if it is affected.\n\nWhat it is: CVE-2025-7039 is a low-severity path traversal vulnerability in Red Hat Enterprise Linux 10, published on 3 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-7039 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-7039/ (Markdown: https://insights.sbomify.com/CVE-2025-7039/index.md)","id":"CVE-2025-7039","markdown":"https://insights.sbomify.com/CVE-2025-7039/index.md","name":"CVE-2025-7039","record":{"aliases":["AZL-66780","AZL-66783","BELL-CVE-2025-7039","DEBIAN-CVE-2025-7039","ECHO-38c7-8809-a5fd","GHSA-wcxv-32f4-xr5v","OESA-2025-2017","OESA-2025-2018","OESA-2025-2019","OESA-2025-2020","OESA-2025-2021","OESA-2025-2063","SUSE-SU-2025:21063-1","SUSE-SU-2025:21201-1","SUSE-SU-2025:4186-1","SUSE-SU-2025:4278-1","SUSE-SU-2025:4308-1","SUSE-SU-2025:4347-1","UBUNTU-CVE-2025-7039","openSUSE-SU-2025:15432-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"GLib utility library","requires_auth":"none","summary":"A local attacker can exploit an integer overflow in GLib's temporary file creation to perform path traversal and access unauthorized private file content.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Glib: buffer under-read on glib through glib/gfileutils.c via get_tmp_file()","id":"CVE-2025-7039","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":12,"n_references":2,"next":{"headline":"Missing authorization in Cloud SAML SSO – Single Sign On Login","id":"CVE-2025-7040"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["2.62.6-150200.3.33.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2025:4186-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["2.70.5-150400.3.26.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2025:4347-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["2.70.5-150400.3.26.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2025:4347-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["2.70.5-150400.3.26.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2025:4347-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["2.78.6-150600.4.22.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:4308-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["2.78.6-150600.4.22.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:4308-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["2.48.2-12.49.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:4278-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["2.76.2-10.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2025:21201-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["2.78.6-slfo.1.1_5.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/suse/glib2\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2025:21063-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.78.6-150600.4.22.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/opensuse/glib2\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4308-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.78.6-150600.4.22.1"],"introduced":["0"],"last_affected":[],"package":"glib2-doc","purl":"pkg:rpm/opensuse/glib2-doc\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:4308-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.84.4-1.1"],"introduced":["0"],"last_affected":[],"package":"glib2","purl":"pkg:rpm/opensuse/glib2\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15432-1"}],"prev":{"headline":"LatePoint \u003c= 5.1.94 - Unauthenticated Authentication Bypass via load_step Function","id":"CVE-2025-7038"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9"],"published":"2025-09-03","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-02","vendors":["Red Hat"]},"summary":"A local attacker can exploit an integer overflow in GLib's temporary file creation to perform path traversal and access unauthorized private file content.","url":"https://insights.sbomify.com/CVE-2025-7039/"}