Memory Allocation with Excessive Size Value Affecting @sveltejs/kit package, versions >=2.49.0 <2.49.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SVELTEJSKIT-14996726
  • published16 Jan 2026
  • disclosed15 Jan 2026
  • credithashcoko

Introduced: 15 Jan 2026

CVE-2026-22803  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade @sveltejs/kit to version 2.49.5 or higher.

Overview

@sveltejs/kit is a SvelteKit framework and CLI

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the deserialize_binary_form() function via Remote Form endpoint. An attacker can cause excessive memory allocation by sending a specially crafted payload with a small header indicating a large data length and then stalling the connection, leading the server to allocate large buffers and potentially exhaust memory resources.

CVSS Base Scores

version 4.0
version 3.1