p PatchFirst

CVE-2026-22184

CVE-2026-22184 · zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()

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

zlib versions up to and including 1.3.1.2 include a global buffer overflow in the untgz utility located under contrib/untgz. The vulnerability is limited to the standalone demonstration utility and does not affect the core zlib compression library. The flaw occurs when a user executes the untgz command with an excessively long archive name supplied via the command line, leading to an out-of-bounds write in a fixed-size global buffer.

CVSS 4.6 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • zlib

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

    No fix published

  • zlib Debian:12

    Affected ranges
    • ECOSYSTEM: < 1:1.2.6.dfsg-1

    Update to 1:1.2.6.dfsg-1

  • zlib Debian:13

    Affected ranges
    • ECOSYSTEM: < 1:1.2.6.dfsg-1

    Update to 1:1.2.6.dfsg-1

  • zlib Debian:14

    Affected ranges
    • ECOSYSTEM: < 1:1.2.6.dfsg-1

    Update to 1:1.2.6.dfsg-1

  • zsync Ubuntu:16.04:LTS

    Versions
    • 0.6.2-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zsync Ubuntu:18.04:LTS

    Versions
    • 0.6.2-2ubuntu1
    • 0.6.2-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zsync Ubuntu:20.04:LTS

    Versions
    • 0.6.2-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zsync Ubuntu:22.04:LTS

    Versions
    • 0.6.2-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zsync Ubuntu:24.04:LTS

    Versions
    • 0.6.2-5
    • 0.6.2-5build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zsync Ubuntu:25.10

    Versions
    • 0.6.2-7ubuntu1
    • 0.6.2-8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zsync Ubuntu:26.10

    Versions
    • 0.6.2-9
    • 0.6.3-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • zsync Ubuntu:26.04:LTS

    Versions
    • 0.6.2-8
    • 0.6.2-9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →