Skip to content

fix(deps): update dependency devalue to v5.6.2 [security]#257

Merged
renovate[bot] merged 1 commit intotrunkfrom
renovate/npm-devalue-vulnerability
Feb 11, 2026
Merged

fix(deps): update dependency devalue to v5.6.2 [security]#257
renovate[bot] merged 1 commit intotrunkfrom
renovate/npm-devalue-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 15, 2026

This PR contains the following updates:

Package Change Age Confidence
devalue 5.5.05.6.2 age confidence

GitHub Vulnerability Alerts

CVE-2026-22774

Summary

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.

Details

The 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.

Impact

This is a denial of service vulnerability affecting systems that use devalue.parse to handle data from potentially untrusted sources.

Affected systems should upgrade to patched versions immediately.

CVE-2026-22775

Summary

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.

Details

The 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.

Impact

This is a denial of service vulnerability affecting systems that use devalue.parse to handle data from potentially untrusted sources.

Affected systems should upgrade to patched versions immediately.


Release Notes

sveltejs/devalue (devalue)

v5.6.2

Compare Source

Patch Changes
  • 1175584: fix: validate input for ArrayBuffer parsing
  • e46afa6: fix: validate input for typed arrays
  • 1175584: fix: more helpful errors for inputs causing stack overflows

v5.6.1

Compare Source

Patch Changes
  • 2161d44: fix: add hasOwn check before calling reviver

v5.6.0

Compare Source

Minor Changes
  • a3d09d4: feat: expose DevalueError for instanceof checks in catch clauses
  • a3d09d4: feat: add value and root properties in DevalueError instances

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

@socket-security
Copy link

socket-security bot commented Jan 15, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updateddevalue@​5.5.0 ⏵ 5.6.2100 +1100 +22100 +191 -1100

View full report

@renovate renovate bot force-pushed the renovate/npm-devalue-vulnerability branch 2 times, most recently from 29f0195 to 065adc2 Compare January 23, 2026 19:47
@renovate renovate bot force-pushed the renovate/npm-devalue-vulnerability branch from 065adc2 to 092f8fb Compare February 2, 2026 21:03
@renovate renovate bot force-pushed the renovate/npm-devalue-vulnerability branch 2 times, most recently from 113ebf4 to fc115e2 Compare February 10, 2026 17:55
@renovate renovate bot force-pushed the renovate/npm-devalue-vulnerability branch from fc115e2 to 158e20b Compare February 10, 2026 22:39
@renovate renovate bot merged commit d4e4c1b into trunk Feb 11, 2026
7 checks passed
@renovate renovate bot deleted the renovate/npm-devalue-vulnerability branch February 11, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant