REDHAT-BUG-2487050: High severity npm/devalue vulnerability

Published Jun 9, 2026
·
Updated

Svelte devalue is a JavaScript library that serializes values into strings when JSON.stringify isn't sufficient for the job. From version 5.6.3 to before version 5.8.1, devalue.parse could, due to quirks in some JavaScript engines, be convinced to allocate much more memory than was needed when deserializing sparse arrays, leading to excessive memory consumption. This issue has been patched in version 5.8.1.

Affected Software

1 affected component
npm/devalue>=5.6.3<5.8.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade devalue.parse to a version that resolves this vulnerability.

    Fixed in 5.8.1

Event History

Jun 9, 2026
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2487050?

The severity of REDHAT-BUG-2487050 is classified as high with a score of 7.

2

What are the affected versions in REDHAT-BUG-2487050?

Versions from 5.6.3 to before 5.8.1 of the devalue library are affected by REDHAT-BUG-2487050.

3

What is the main issue in REDHAT-BUG-2487050?

The main issue is that devalue.parse can allocate excessive memory due to quirks in certain JavaScript engines.

4

How do I fix REDHAT-BUG-2487050?

To fix REDHAT-BUG-2487050, upgrade the devalue library to version 5.8.1 or later.

5

What kind of applications are impacted by REDHAT-BUG-2487050?

Applications that use the devalue library for serialization in JavaScript are impacted by REDHAT-BUG-2487050.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203