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.
Affected software
| Software | Affected versions |
|---|---|
SvelteKitServers and applications · github:sveltejs/kit |
|
About SvelteKit
web development, streamlined
- 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
Vulnerabilities in SvelteKit
- In our list
- 34
- Published in the last 12 months
- 29
- Critical, last 12 months
- 0
- High, last 12 months
- 7
- Known exploited
- 0
- CVE-2026-128123SvelteKit: `@sveltejs/adapter-node` crashes when proxying certain requests via `fetch`Medium 5.9 13 Nov 2026
- CVE-2026-128122SvelteKit: Prerendered redirect paths can inject arbitrary rules into the `_redirects` file generated by `@sveltejs/adapter-cloudflare`Medium 5.9 13 Nov 2026
- CVE-2026-128121SvelteKit: Prerendered paths are interpreted as regular expressions in Vercel route config generated by @sveltejs/adapter-vercel and @sveltejs/adapter-staticMedium 5.9 13 Nov 2026
- GHSA-rqp5-r3wg-vg35Protocol-relative module import during server-side route resolution allows cross-origin script executionMedium 5.3 29 Oct 2026
- CVE-2026-128116Protocol-relative module import during server-side route resolution allows cross-origin script executionMedium 5.3 29 Oct 2026
- GHSA-mw6w-2fmv-pvw3Unhandled URIError when `reroute` rewrites a malformed pathname crashes adapter-nodeMedium 5.9 29 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-22803
- GitHub Advisory Database https://github.com/advisories/GHSA-j2f3-wq62-6q46
- github.com https://github.com/sveltejs/kit/security/advisories/GHSA-j2f3-wq62-6q46