p PatchFirst

CVE-2026-41992

CVE-2026-41992 · Global Buffer Overflow in GNU gzip

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 0.6% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • gzip

    Versions
    • ≥ 0, ≤ 1.14: Affected (custom)

    No fix published

  • gzip 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
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gzip Debian:13

    Versions
    • 1.13-1
    Affected ranges
    • ECOSYSTEM: < 1.13-1+deb13u1

    Update to 1.13-1+deb13u1

  • gzip Debian:14

    Versions
    • 1.13-1
    • 1.13.56~e549-1~exp1
    • 1.14-1~exp1
    • 1.14-1~exp2
    Affected ranges
    • ECOSYSTEM: < 1.14-1

    Update to 1.14-1

  • gzip Ubuntu:Pro:14.04:LTS

    Versions
    • 1.6-2ubuntu1
    • 1.6-3ubuntu1
    • 1.6-3ubuntu1+esm1
    Affected ranges
    • ECOSYSTEM: < 1.6-3ubuntu1+esm2

    Update to 1.6-3ubuntu1+esm2

  • gzip Ubuntu:Pro:16.04:LTS

    Versions
    • 1.6-4ubuntu1
    • 1.6-4ubuntu1+esm1
    Affected ranges
    • ECOSYSTEM: < 1.6-4ubuntu1+esm2

    Update to 1.6-4ubuntu1+esm2

  • gzip Ubuntu:Pro:18.04:LTS

    Versions
    • 1.6-5ubuntu1
    • 1.6-5ubuntu1.1
    • 1.6-5ubuntu1.2
    Affected ranges
    • ECOSYSTEM: < 1.6-5ubuntu1.2+esm1

    Update to 1.6-5ubuntu1.2+esm1

  • gzip Ubuntu:Pro:20.04:LTS

    Versions
    • 1.10-0ubuntu3
    • 1.10-0ubuntu4
    • 1.10-0ubuntu4.1
    Affected ranges
    • ECOSYSTEM: < 1.10-0ubuntu4.1+esm1

    Update to 1.10-0ubuntu4.1+esm1

  • gzip Ubuntu:22.04:LTS

    Versions
    • 1.10-4ubuntu1
    • 1.10-4ubuntu2
    • 1.10-4ubuntu3
    • 1.10-4ubuntu4
    • 1.10-4ubuntu4.1
    Affected ranges
    • ECOSYSTEM: < 1.10-4ubuntu4.2

    Update to 1.10-4ubuntu4.2

  • gzip Ubuntu:24.04:LTS

    Versions
    • 1.12-1ubuntu1
    • 1.12-1ubuntu2
    • 1.12-1ubuntu3
    • 1.12-1ubuntu3.1
    Affected ranges
    • ECOSYSTEM: < 1.12-1ubuntu3.2

    Update to 1.12-1ubuntu3.2

  • gzip Ubuntu:25.10

    Versions
    • 1.13-1ubuntu3
    • 1.13-1ubuntu4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gzip Ubuntu:26.04:LTS

    Versions
    • 1.13-1ubuntu4
    • 1.13-1ubuntu5
    • 1.14-1~exp2ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.14-1~exp2ubuntu1.1

    Update to 1.14-1~exp2ubuntu1.1

Original sources

Check your server →