{"id":"CVE-2026-22774","aliases":["GHSA-vw5p-8cq8-m7mv"],"url":"https://o3.security/vulnerability/CVE-2026-22774","summary":"devalue vulnerable to denial of service due to memory exhaustion in devalue.parse","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 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.","published":"2026-01-15T18:53:21.963Z","modified":"2026-08-12T03:51:29.702475100Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00581,"percentile":0.45094,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"devalue","fixedVersion":"5.6.2"}],"fix":{"url":"https://github.com/sveltejs/devalue/commit/e46afa64dd2b25aa35fb905ba5d20cea63aabbf7","label":"sveltejs/devalue@e46afa6"},"references":[{"type":"WEB","url":"https://github.com/sveltejs/devalue/releases/tag/v5.6.2"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22774.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:2144"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:2926"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-22774"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22774.json"},{"type":"ADVISORY","url":"https://github.com/sveltejs/devalue/security/advisories/GHSA-vw5p-8cq8-m7mv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22774"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2430095"},{"type":"FIX","url":"https://github.com/sveltejs/devalue/commit/e46afa64dd2b25aa35fb905ba5d20cea63aabbf7"},{"type":"WEB","url":"https://github.com/sveltejs/devalue/commit/11755849fa0634ae294a15ec0aef2f43efcad7c4"},{"type":"PACKAGE","url":"https://github.com/sveltejs/devalue"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:29.702475100Z"}}