devalue vulnerable to denial of service due to memory/CPU exhaustion in devalue.parse
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From 5.1.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 ArrayBuffer hydration expecting base64 encoded strings as input, but not checking the assumption before decoding the input. This vulnerability is fixed in 5.6.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sveltejs | devalue | 5.1.0 to before 5.6.2 | 5.6.2 | Patch available | CNA |
| — | devalue (npm) | 5.1.0 to before 5.6.2 | 5.6.2 | Patch available | GHSA-g2pg-6438-jwpf |
- devalue Vendorsveltejs Affected 5.1.0 to before 5.6.2 Fixed in 5.6.2 Patch available CNA
- devalue (npm) Vendor— Affected 5.1.0 to before 5.6.2 Fixed in 5.6.2 Patch available GHSA-g2pg-6438-jwpf
Remediation
- Fix · CNA devalue (sveltejs) Fixed in 5.6.2
- Fix · GHSA-g2pg-6438-jwpf devalue (npm) Fixed in 5.6.2 Advisory →
Red Hat 2 advisories
- RHSA-2026:2926 Released 2026-02-18 · Red Hat rating ImportantRHTAS 1.2.2 - Red Hat Trusted Artifact Signer Release
- Red Hat Trusted Artifact Signer 1.2 registry.redhat.io/rhtas/certificate-transparency-rhel9, registry.redhat.io/rhtas/rekor-backfill-redis-rhel9, registry.redhat.io/rhtas/rekor-search-ui-rhel9 +6
- RHSA-2026:2144 Released 2026-02-05 · Red Hat rating ImportantRHTAS 1.3.2 - Red Hat Trusted Artifact Signer Release
- Red Hat Trusted Artifact Signer 1.3 registry.redhat.io/rhtas/certificate-transparency-rhel9, registry.redhat.io/rhtas/fulcio-rhel9, registry.redhat.io/rhtas/rekor-backfill-redis-rhel9 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of Podman Desktop - Tech Preview | Affected | No fix yet |
| Red Hat Trusted Artifact Signer 1.2 | Fixed | RHSA-2026:2926 |
| Red Hat Trusted Artifact Signer 1.3 | Fixed | RHSA-2026:2144 |
Not affected: 2 products
- Red Hat Trusted Artifact Signer 1.2
- Red Hat Trusted Artifact Signer 1.3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22775
- 2026-10-03 Alias added: GHSA-g2pg-6438-jwpf
- 2026-11-03 EPSS moved to the 50th–90th percentile
References
Advisory 2
More sveltejs Devalue vulnerabilities
- TI-2026-18292 devalue vulnerable to denial of service due to memory exhaustion in devalue.parse CVSS 3.1HIGH 7.5
- TI-2026-30850 Svelte devalue: DoS via sparse array deserialization CVSS 3.1HIGH 7.5
- TI-2026-23459 devalue has prototype pollution in devalue.parse and devalue.unflatten CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-22775 · CVE Program
- CVE-2026-22775 · NVD
- FIRST EPSS
- GHSA-g2pg-6438-jwpf · GitHub Advisory Database · CC BY 4.0
- CVE-2026-22775 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences