RHSA-2026:79717
Vulnerability from csaf_redhat - Published: 2026-10-08 23:29 - Updated: 2026-10-09 01:28A flaw was found in the `gzexe` utility of GNU `gzip`. When the `mktemp` utility is not available, `gzexe` creates temporary files with predictable names based on the process ID. A local attacker can exploit this by pre-creating a symbolic link to an arbitrary file at the predicted temporary file path. This can lead to a Time-of-Check to Time-of-Use (TOCTOU) condition, allowing the attacker to overwrite arbitrary files on the system.
| Product | Identifier | Version | Remediation |
|---|---|---|---|
| Unresolved product id: Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64 | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gzip-0:1.15-1.hum1@src | — |
Vendor Fix
fix
Workaround
|
|
| Unresolved product id: Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64 | — |
Vendor Fix
fix
Workaround
|
A flaw was found in GNU gzip. This global buffer overflow vulnerability in the LZH decompression logic is caused by improper reuse of shared global state between different decompression formats. An attacker can exploit this by providing a specially crafted LZW file followed by a specially crafted LZH file to the `gzip -d` command. This can lead to an out-of-bounds read, potentially resulting in information disclosure.
CWE-125 - Out-of-bounds Read{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "An update for Red Hat Hardened Images RPMs is now available.",
"title": "Topic"
},
{
"category": "general",
"text": "This update includes the following RPMs:\n\ngzip:\n * gzip-1.15-1.hum1 (aarch64, x86_64)\n * gzip-1.15-1.hum1.src (src)\n\nSecurity Fix(es):\n\ngzip:\n * CVE-2026-41991\n * CVE-2026-41992",
"title": "Details"
},
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "https://access.redhat.com/errata/RHSA-2026:79717",
"url": "https://access.redhat.com/errata/RHSA-2026:79717"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-41991",
"url": "https://access.redhat.com/security/cve/CVE-2026-41991"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/cve/CVE-2026-41992",
"url": "https://access.redhat.com/security/cve/CVE-2026-41992"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/",
"url": "https://access.redhat.com/security/updates/classification/"
},
{
"category": "external",
"summary": "https://images.redhat.com/",
"url": "https://images.redhat.com/"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_79717.json"
}
],
"title": "Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update",
"tracking": {
"current_release_date": "2026-10-09T01:28:18+00:00",
"generator": {
"date": "2026-10-09T01:28:18+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.4.2"
}
},
"id": "RHSA-2026:79717",
"initial_release_date": "2026-10-08T23:29:53+00:00",
"revision_history": [
{
"date": "2026-10-08T23:29:53+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-10-08T23:32:24+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2026-10-09T01:28:18+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Hardened Images",
"product": {
"name": "Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:hummingbird:1"
}
}
}
],
"category": "product_family",
"name": "Red Hat Hardened Images"
},
{
"branches": [
{
"category": "product_version",
"name": "gzip-0:1.15-1.hum1@aarch64",
"product": {
"name": "gzip-0:1.15-1.hum1@aarch64",
"product_id": "gzip-0:1.15-1.hum1@aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/gzip@1.15-1.hum1?arch=aarch64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-aarch64-rpms"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "gzip-0:1.15-1.hum1@src",
"product": {
"name": "gzip-0:1.15-1.hum1@src",
"product_id": "gzip-0:1.15-1.hum1@src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/gzip@1.15-1.hum1?arch=src\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-source-rpms"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "gzip-0:1.15-1.hum1@x86_64",
"product": {
"name": "gzip-0:1.15-1.hum1@x86_64",
"product_id": "gzip-0:1.15-1.hum1@x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/gzip@1.15-1.hum1?arch=x86_64\u0026distro=hummingbird-20251124\u0026repository_id=public-hummingbird-x86_64-rpms"
}
}
}
],
"category": "architecture",
"name": "x86_64"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "gzip-0:1.15-1.hum1@aarch64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64"
},
"product_reference": "gzip-0:1.15-1.hum1@aarch64",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "gzip-0:1.15-1.hum1@src as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:gzip-0:1.15-1.hum1@src"
},
"product_reference": "gzip-0:1.15-1.hum1@src",
"relates_to_product_reference": "Red Hat Hardened Images"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "gzip-0:1.15-1.hum1@x86_64 as a component of Red Hat Hardened Images",
"product_id": "Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
},
"product_reference": "gzip-0:1.15-1.hum1@x86_64",
"relates_to_product_reference": "Red Hat Hardened Images"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-41991",
"cwe": {
"id": "CWE-59",
"name": "Improper Link Resolution Before File Access (\u0027Link Following\u0027)"
},
"discovery_date": "2026-06-29T12:01:03.862009+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2494158"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in the `gzexe` utility of GNU `gzip`. When the `mktemp` utility is not available, `gzexe` creates temporary files with predictable names based on the process ID. A local attacker can exploit this by pre-creating a symbolic link to an arbitrary file at the predicted temporary file path. This can lead to a Time-of-Check to Time-of-Use (TOCTOU) condition, allowing the attacker to overwrite arbitrary files on the system.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "A flaw was found in the gzexe utility of GNU gzip. When the mktemp utility is not available in the user\u0027s PATH, gzexe creates temporary files with predictable names based on the process ID. A local attacker can exploit this by creating a symbolic link at the predicted temporary file path, leading to a TOCTOU race condition that allows arbitrary file overwrite. On Red Hat Enterprise Linux, mktemp is provided by coreutils which is always installed, making the vulnerable fallback code path effectively unreachable in standard deployments.",
"title": "Statement"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@src",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-41991"
},
{
"category": "external",
"summary": "RHBZ#2494158",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2494158"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-41991",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-41991"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-41991",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41991"
},
{
"category": "external",
"summary": "https://cert.pl/en/posts/2026/04/CVE-2026-41991/",
"url": "https://cert.pl/en/posts/2026/04/CVE-2026-41991/"
},
{
"category": "external",
"summary": "https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=4e6f8b24ab823146ab8776f0b7fe486ab34d4269",
"url": "https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=4e6f8b24ab823146ab8776f0b7fe486ab34d4269"
},
{
"category": "external",
"summary": "https://www.gnu.org/software/gzip/",
"url": "https://www.gnu.org/software/gzip/"
}
],
"release_date": "2026-06-29T10:15:50.766000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-10-08T23:29:53+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@src",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:79717"
},
{
"category": "workaround",
"details": "Ensure that the mktemp utility (provided by the coreutils package) is available in PATH when using the gzexe utility. On Red Hat Enterprise Linux, mktemp is installed by default and no additional action is needed.",
"product_ids": [
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@src",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 6.0,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@src",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "gzip: gzip: Arbitrary file overwrite via insecure temporary file handling in gzexe utility"
},
{
"cve": "CVE-2026-41992",
"cwe": {
"id": "CWE-125",
"name": "Out-of-bounds Read"
},
"discovery_date": "2026-06-29T12:01:09.238155+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2494159"
}
],
"notes": [
{
"category": "description",
"text": "A flaw was found in GNU gzip. This global buffer overflow vulnerability in the LZH decompression logic is caused by improper reuse of shared global state between different decompression formats. An attacker can exploit this by providing a specially crafted LZW file followed by a specially crafted LZH file to the `gzip -d` command. This can lead to an out-of-bounds read, potentially resulting in information disclosure.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "gzip: gzip: Information disclosure via global buffer overflow in LZH decompression",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"fixed": [
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@src",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2026-41992"
},
{
"category": "external",
"summary": "RHBZ#2494159",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2494159"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2026-41992",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-41992"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-41992",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41992"
},
{
"category": "external",
"summary": "https://cert.pl/en/posts/2026/04/CVE-2026-41991/",
"url": "https://cert.pl/en/posts/2026/04/CVE-2026-41991/"
},
{
"category": "external",
"summary": "https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=63dbf6b3b9e6e781df1a6a64e609b10e23969681",
"url": "https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=63dbf6b3b9e6e781df1a6a64e609b10e23969681"
},
{
"category": "external",
"summary": "https://www.gnu.org/software/gzip/",
"url": "https://www.gnu.org/software/gzip/"
}
],
"release_date": "2026-06-29T10:15:57.278000+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2026-10-08T23:29:53+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\nhttps://images.redhat.com/",
"product_ids": [
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@src",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2026:79717"
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "LOW",
"baseScore": 3.6,
"baseSeverity": "LOW",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L",
"version": "3.1"
},
"products": [
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@aarch64",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@src",
"Red Hat Hardened Images:gzip-0:1.15-1.hum1@x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Low"
}
],
"title": "gzip: gzip: Information disclosure via global buffer overflow in LZH decompression"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.