Skip to main content

CVE-2026-44302 — Vulnerability in Snappier — CVE Details

HIGH

Snappier has an infinite loop during SnappyStream decompression with malformed framed input

Published May 6, 2026Updated May 13, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.46%). Schedule for your next planned update.

Does your project use an affected Snappier version?

Paste your packages.lock.json to check it for CVE-2026-44302 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

Summary

Snappier.SnappyStream enters an uncatchable infinite loop when decompressing a malformed framed-format Snappy stream as small as 15 bytes.

Details

The hang manifests as a userspace busy loop with SnappyStreamDecompressor.Decompress repeatedly calling Crc32CAlgorithm.Append. The exact non-terminating loop in or above Decompress has not been traced further.

PoC

using System.IO.Compression;
using Snappier;

byte[] data = { 0x00, 0x04, 0x00, 0x00, 0x64, 0x4e, 0x6c, 0x71, 0x79, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64 };
using var src = new MemoryStream(data);
using var snap = new SnappyStream(src, CompressionMode.Decompress);
using var dst = new MemoryStream();
snap.CopyTo(dst);   // never returns

Impact

A caller using SnappyStream on attacker-controlled bytes can be made to spin forever and burn a thread until the process is killed. try/catch around the stream operation can't recover (no exception is thrown).

Advisory Timeline

  • First published May 6, 2026 (204 days ago).
  • Last revised May 13, 2026 — 7 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Snappier to 1.3.1 or later
dotnet add package Snappier --version 1.3.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
Snappier NuGet · Affected: 1.0.0, 1.0.0-beta001, 1.0.0-beta002, 1.1.0 (+9 more)1.3.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2026-44302?
Snappier has an infinite loop during SnappyStream decompression with malformed framed input. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-44302?
CVE-2026-44302 affects Snappier. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-44302 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.46%
EPSS percentile: 31.9

This is a below-median EPSS score — only 31.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-pggp-6c3x-2xmx

Related CVEs

  • CVE-2026-102529
    HIGH

    HtmlSanitizer: CSS Removal DoS

  • CVE-2023-28638
    HIGH

    Snappier vulnerable to buffer overrun due to improper restriction of operations within the bounds of a memory buffer

  • CVE-2026-63184
    HIGH

    Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json