CVE-2026-22774
published high CVSS 3.1 · 7.5devalue vulnerable to denial of service due to memory exhaustion in devalue.parse
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sveltejs | — | devalue>= 5.3.0, < 5.6.2 | Affected | Not stated | GitHub_M |
| Red Hat | — | rhtas/rekor-search-ui-rhel9Red Hat Trusted Artifact Signer 1.2 · 1770739056 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhtas/rekor-search-ui-rhel9Red Hat Trusted Artifact Signer 1.3 · 1770107452 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhdesktop/rh-podman-desktop-ext-bootc-rhel10Red Hat Build of Podman Desktop - Tech Preview | Affected | Not stated | redhat-SADP |
Description
Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From 5.3.0 to 5.6.1, certain 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. This vulnerability is fixed in 5.6.2.
A flaw was found in devalue, a JavaScript library used for serializing values. A remote attacker can exploit this vulnerability by providing specially crafted input to the devalue.parse function. This can cause the application to consume excessive CPU time and memory, leading to a denial of service (DoS) condition. The root cause is an unchecked assumption during typed array hydration, where an ArrayBuffer is expected but not validated.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sveltejs | devalue | >= 5.3.0, < 5.6.2 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Trusted Artifact Signer 1.2 | 1770739056 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Trusted Artifact Signer 1.3 | 1770107452 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-405 CWE-405: Asymmetric Resource Consumption (Amplification)
- CWE-405 Asymmetric Resource Consumption (Amplification)
References
8- https://access.redhat.com/errata/RHSA-2026:2144
- https://access.redhat.com/errata/RHSA-2026:2926
- https://access.redhat.com/security/cve/CVE-2026-22774
- RHBZ#2430095 https://bugzilla.redhat.com/show_bug.cgi?id=2430095
- https://github.com/sveltejs/devalue/commit/e46afa64dd2b25aa35fb905ba5d20cea63aabbf7
- https://github.com/sveltejs/devalue/releases/tag/v5.6.2
- https://github.com/sveltejs/devalue/security/advisories/GHSA-vw5p-8cq8-m7mv
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22774.json
Provider assertions
3GitHub_M · cna
devalue vulnerable to denial of service due to memory exhaustion in devalue.parse
redhat-SADP · adp
devalue: devalue: Denial of Service due to excessive resource consumption from untrusted input
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 663e52684f9c055b97c67c58f00c962b978afdf6e1d57e9afe3c0f9de979f0af
- Ingested
- 23 Sep 2026, 09:05:30 UTC
- Source record
- Official CVE record