Skip to content

Commit 19f0e98

Browse files
1 parent e118f49 commit 19f0e98

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-g2pg-6438-jwpf",
4+
"modified": "2026-01-15T22:15:18Z",
5+
"published": "2026-01-15T22:15:18Z",
6+
"aliases": [
7+
"CVE-2026-22775"
8+
],
9+
"summary": "devalue vulnerable to denial of service due to memory/CPU exhaustion in devalue.parse",
10+
"details": "## Summary\n\nCertain inputs can cause `devalue.parse` to consume excessive CPU time and/or memory, potentially leading to denial of service in systems that parse input from untrusted sources. This affects applications using `devalue.parse` on externally-supplied data. The root cause is the `ArrayBuffer` hydration expecting base64 encoded strings as input, but not checking the assumption before decoding the input.\n\n## Details\n\nThe parser's `ArrayBuffer` hydration logic does not properly validate input before processing. Specially crafted inputs can cause disproportionate memory allocation or CPU usage on the receiving system.\n\n## Impact\n\nThis is a denial of service vulnerability affecting systems that use `devalue.parse` to handle data from potentially untrusted sources.\n\nAffected systems should upgrade to patched versions immediately.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "devalue"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "5.1.0"
29+
},
30+
{
31+
"fixed": "5.6.2"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/sveltejs/devalue/security/advisories/GHSA-g2pg-6438-jwpf"
42+
},
43+
{
44+
"type": "ADVISORY",
45+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22775"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4"
50+
},
51+
{
52+
"type": "PACKAGE",
53+
"url": "https://github.com/sveltejs/devalue"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://github.com/sveltejs/devalue/releases/tag/v5.6.2"
58+
}
59+
],
60+
"database_specific": {
61+
"cwe_ids": [
62+
"CWE-405"
63+
],
64+
"severity": "HIGH",
65+
"github_reviewed": true,
66+
"github_reviewed_at": "2026-01-15T22:15:18Z",
67+
"nvd_published_at": "2026-01-15T19:16:05Z"
68+
}
69+
}

0 commit comments

Comments
 (0)