Skip to content
Heist/ feed
Back to feed
High

zsync — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-22184

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.

Products
zsync
Affected versions
0.6.2-1ubuntu1, 0.6.2-2ubuntu1, 0.6.2-3ubuntu1, 0.6.2-5, 0.6.2-5build1, 0.6.2-7ubuntu1, 0.6.2-8, 0.6.2-9, 0.6.3-2
Fixed versions
Not specified
CVEs
CVE-2026-22184
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:18 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-22184

core-osv · Original source

Published 7 Jan 2026, 21:16 UTC

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.

osv:UBUNTU-CVE-2026-22184

zsync

Fixed versions: Not specified

zsync

Fixed versions: Not specified

zsync

Fixed versions: Not specified

zsync

Fixed versions: Not specified

zsync

Fixed versions: Not specified

zsync

Fixed versions: Not specified

zsync

Fixed versions: Not specified

zsync

Fixed versions: Not specified

Complete source record
{
  "id": "94adb5e17bfd19b9f2e895152899e1df49d4011ba15b644f715567b24d21c096",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-22184",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-22184",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-22184",
    "products": [
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-1ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-2ubuntu1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.2-3ubuntu1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-3ubuntu1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-3ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-5",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.6.2-5build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-7ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.6.2-8",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-9",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.6.3-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zsync",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.2-8",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.6.2-9",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-22184",
      "aliases": [
        "UBUNTU-CVE-2026-22184"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.6.2-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.2-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.6.2-2ubuntu1",
            "0.6.2-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.2-3ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.6.2-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.2-3ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.6.2-3ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.2-3ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.6.2-5",
            "0.6.2-5build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.2-5build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.6.2-7ubuntu1",
            "0.6.2-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.2-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.6.2-9",
            "0.6.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zsync",
            "purl": "pkg:deb/ubuntu/zsync?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.6.2-8",
            "0.6.2-9"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22184.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "zsync",
                "binary_version": "0.6.2-9"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-27T04:17:50.599192108Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-22184"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-22184",
        "https://www.cve.org/CVERecord?id=CVE-2026-22184",
        "https://github.com/madler/zlib",
        "https://seclists.org/fulldisclosure/2026/Jan/3",
        "https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname",
        "https://zlib.net/"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-22184",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 460300,
  "published_at": "2026-01-07T21:16:00+00:00"
}