{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41991 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-41991 is a low-severity path traversal vulnerability in GNU gzip, published on 29 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-41991 and fix it if it is affected.\n\nWhat it is: CVE-2026-41991 is a low-severity path traversal vulnerability in GNU gzip, published on 29 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-41991 in the wild and no public exploit code.\n\nAffected product: GNU gzip. 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-2026-41991/ (Markdown: https://insights.sbomify.com/CVE-2026-41991/index.md)","id":"CVE-2026-41991","markdown":"https://insights.sbomify.com/CVE-2026-41991/index.md","name":"CVE-2026-41991","record":{"aliases":["CLSA-2026-1783514299","CLSA-2026-1783934943","DEBIAN-CVE-2026-41991","ECHO-233f-78f2-a73b","GHSA-67v8-88jf-4x6q","JLSEC-2026-1264","RHSA-2026:33771","ROOT-OS-DEBIAN-11-CVE-2026-41991","ROOT-OS-DEBIAN-12-CVE-2026-41991","SUSE-SU-2026:22753-1","SUSE-SU-2026:22818-1","SUSE-SU-2026:22906-1","SUSE-SU-2026:22918-1","SUSE-SU-2026:3241-1","SUSE-SU-2026:3269-1","UBUNTU-CVE-2026-41991","openSUSE-SU-2026:11174-1","openSUSE-SU-2026:21371-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"GNU gzip utility","requires_auth":"none","summary":"Local attackers can overwrite arbitrary files via symlink attacks in gzexe when mktemp is unavailable, requiring a patch to prevent data modification.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERT-PL","cpe":[{"product":"gzip","vendor":"gnu"}],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-377","name":"DEPRECATED: Insecure Temporary File"}],"description":"GNU gzip contains a vulnerability in the gzexe utility related to insecure temporary file handling. When the mktemp utility is not available in the user’s PATH, gzexe falls back to constructing a temporary file path based solely on the process ID (PID). This predictable filename is created without exclusive access or existence checks.\nA local attacker can pre‑create the predicted temporary file path as a symbolic link pointing to an arbitrary file writable by the victim. When gzexe runs, it follows the symlink and overwrites the target file, resulting in a time‑of‑check to time‑of‑use (TOCTOU) condition that allows arbitrary file overwrite.\n\nThis issue has been fixed in the commit 4e6f8b24ab823146ab8776f0b7fe486ab34d4269","ecosystems":["Red Hat:hummingbird:1","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","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 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Linux Micro 6.2","openSUSE:Leap 16.0","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":"Predictable Temporary File in GNU gzip","id":"CVE-2026-41991","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":24,"n_references":3,"next":{"headline":"Global Buffer Overflow in GNU gzip","id":"CVE-2026-41992"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:1.14-2.2.hum1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/redhat/gzip","source":"RHSA-2026:33771"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5-LTSS","fixed":["1.10-4.17.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSS","source":"SUSE-SU-2026:3241-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["1.13-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:22818-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["1.10-4.17.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:3241-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP5","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP6","fixed":["1.10-150200.13.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6","source":"SUSE-SU-2026:3269-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP applications 16.0","fixed":["1.13-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0","source":"SUSE-SU-2026:22818-1"},{"ecosystem":"SUSE:Linux Micro 6.0","fixed":["1.13-2.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Micro%206.0","source":"SUSE-SU-2026:22918-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["1.13-slfo.1.1_3.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:22906-1"},{"ecosystem":"SUSE:Linux Micro 6.2","fixed":["1.13-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/suse/gzip\u0026distro=SUSE%20Linux%20Micro%206.2","source":"SUSE-SU-2026:22753-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.13-160000.3.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/opensuse/gzip\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21371-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.14-2.1"],"introduced":["0"],"last_affected":[],"package":"gzip","purl":"pkg:rpm/opensuse/gzip\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11174-1"}],"prev":{"headline":"Memory corruption in Libgcrypt","id":"CVE-2026-41990"},"products":["gzip"],"published":"2026-06-29","related":[{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2004-0603","kev_date_added":null,"published":"2004-06-30"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2001-1228","kev_date_added":null,"published":"2002-04-12"},{"cvss_score":6.9,"headline":"Global Buffer Overflow in GNU gzip","id":"CVE-2026-41992","kev_date_added":null,"published":"2026-06-29"},{"cvss_score":6.8,"headline":"Memory corruption in n/a","id":"CVE-2009-2624","kev_date_added":null,"published":"2010-01-29"},{"cvss_score":6.8,"headline":"Integer overflow in n/a","id":"CVE-2010-0001","kev_date_added":null,"published":"2010-01-29"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2005-1228","kev_date_added":null,"published":"2005-04-22"},{"cvss_score":2.1,"headline":"Privilege escalation in n/a","id":"CVE-2004-1349","kev_date_added":null,"published":"2005-01-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"US public information, NVD API terms","name":"NVD"},{"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-29","vendors":["GNU"]},"summary":"Local attackers can overwrite arbitrary files via symlink attacks in gzexe when mktemp is unavailable, requiring a patch to prevent data modification.","url":"https://insights.sbomify.com/CVE-2026-41991/"}