Skip to content
Heist/ feed
Back to feed
HighFix available

gzip — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-41992

GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer. This issue has been fixed in commits 63dbf6b3b9e6e781df1a6a64e609b10e23969681 and e7378c2d421be6a286922374425680bbe9ad8b7d.

Products
gzip
Affected versions
1.12-1, 1.12-1.1, 1.12-1.2, 1.13-1, 1.13.56~e549-1~exp1, 1.14-1, 1.14-1~exp1, 1.14-1~exp2
Fixed versions
1.13-1+deb13u1, 1.14-1
CVEs
CVE-2026-41992
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:15 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-41992

core-osv · Original source

Published 29 Jun 2026, 12:16 UTC

GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer. This issue has been fixed in commits 63dbf6b3b9e6e781df1a6a64e609b10e23969681 and e7378c2d421be6a286922374425680bbe9ad8b7d.

osv:DEBIAN-CVE-2026-41992

gzip

Fixed versions: Not specified

gzip

Fixed versions: 1.13-1+deb13u1

gzip

Fixed versions: 1.14-1

Complete source record
{
  "id": "212cb5466c06d5372a709534d806357bf7b4398dfffca0069dd4ab8c73ce0411",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-41992",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-41992",
    "summary": "GNU gzip contains a global buffer overflow vulnerability in the LZH decompression logic caused by improper reuse of shared global state between different decompression formats within a single execution. GNU gzip maintains a global array that is shared across the LZ77, LZW, and LZH decompression routines and is not reinitialized between files processed in the same invocation. By decompressing a specially crafted LZW file followed by a specially crafted LZH file in a single gzip -d command, an attacker can poison the shared global state and subsequently trigger an out‑of‑bounds read in the LZH decoder. The LZH decompression logic follows stale values left in the shared array, causing reads past the end of the allocated global buffer. This issue has been fixed in commits 63dbf6b3b9e6e781df1a6a64e609b10e23969681 and e7378c2d421be6a286922374425680bbe9ad8b7d.",
    "evidence": "osv:DEBIAN-CVE-2026-41992",
    "products": [
      {
        "name": {
          "value": "gzip",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.12-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.12-1.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.12-1.2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.13.56~e549-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.14-1~exp2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gzip",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.13-1+deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.13-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gzip",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.14-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.13-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.13.56~e549-1~exp1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.14-1~exp1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.14-1~exp2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-41992",
      "aliases": [
        "DEBIAN-CVE-2026-41992"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gzip",
            "purl": "pkg:deb/debian/gzip?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.12-1",
            "1.12-1.1",
            "1.12-1.2",
            "1.13-1",
            "1.13.56~e549-1~exp1",
            "1.14-1",
            "1.14-1~exp1",
            "1.14-1~exp2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41992.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.13-1+deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "gzip",
            "purl": "pkg:deb/debian/gzip?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.13-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41992.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.14-1"
                }
              ]
            }
          ],
          "package": {
            "name": "gzip",
            "purl": "pkg:deb/debian/gzip?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.13-1",
            "1.13.56~e549-1~exp1",
            "1.14-1~exp1",
            "1.14-1~exp2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41992.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T11:47:29.820428105Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-41992"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-41992"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-41992",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450732,
  "published_at": "2026-06-29T12:16:29.94+00:00"
}