All vulnerabilities

Servers and applications

CVE-2026-22803

Memory amplification DoS in Remote Functions binary form deserializer (application/x-sveltekit-formdata)

Severity
High 8.2
Published
15 Jan 2026
Last changed
15 Jan 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.49.5
Exploit chance
0.6% in the next 30 daysHigher than 48% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-789
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Also known as
GHSA-j2f3-wq62-6q46
Sources
Project advisories (GitHub)

Description

The experimental form remote function uses a binary data format containing a representation of submitted form data. A specially-crafted payload can cause the server to allocate a large amount of memory, causing DoS via memory exhaustion.

When a form is submitted to a remote function endpoint, the SvelteKit client encodes the data using a custom format, and POSTs it to the endpoint as a request with an application/x-sveltekit-formdata content type.

The first few bytes of the request body encode the length of the data. SvelteKit will attempt to read the request body up until the specified offset, but if the body is not yet available then an array buffer of that size will be created eagerly to accommodate it as it arrives.

An attacker can force this code path by sending a small payload that specifies a large data length, then stalling the connection. The resulting array buffer will be held in memory, potentially causing memory exhaustion.

From sveltejs/kit's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SvelteKitServers and applications · github:sveltejs/kit
  • From 2.49.0 before 2.49.5

About SvelteKit

web development, streamlined

From its GitHub repository.
Weekly downloads (npm)
5,264,899npm, 15 Nov 2026
GitHub stars
20,912GitHub, 15 Nov 2026
Forks
2,382GitHub, 15 Nov 2026
Latest release
@sveltejs/[email protected]GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
MITGitHub
First published on GitHub
15 Oct 2020GitHub

References