{"id":"GHSA-vw5p-8cq8-m7mv","revision":"a06d9fdc3fba4d2880ef4a3ab3096123","records":[{"revision":"a06d9fdc3fba4d2880ef4a3ab3096123","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-vw5p-8cq8-m7mv","aliases":["CVE-2026-22774"],"title":"Devalue is vulnerable to denial of service due to memory exhaustion in devalue.parse","description":"## 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 typed array hydration expecting an `ArrayBuffer` as input, but not checking the assumption before creating the typed array.\n\n## Details\n\nThe parser's typed array 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.","state":0,"publishedAt":"2026-01-15T18:10:15+00:00","modifiedAt":"2026-02-03T03:17:35.098687+00:00","affected":[{"ecosystem":"npm","name":"devalue","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"5.3.0"},{"kind":"fixed","version":"5.6.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/sveltejs/devalue/security/advisories/GHSA-vw5p-8cq8-m7mv","https://nvd.nist.gov/vuln/detail/CVE-2026-22774","https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4","https://github.com/sveltejs/devalue/commit/e46afa64dd2b25aa35fb905ba5d20cea63aabbf7","https://github.com/sveltejs/devalue","https://github.com/sveltejs/devalue/releases/tag/v5.6.2"],"sourceUrl":"https://github.com/advisories/GHSA-vw5p-8cq8-m7mv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vw5p-8cq8-m7mv","identifiers":["GHSA-vw5p-8cq8-m7mv","CVE-2026-22774"]},"retained":false,"historicalAffected":[]}],"coverage":[]}