GHSA-9rgm-9g3h-6x36: Medium severity npm/devalue vulnerability

Published Sep 17, 2026
·
Updated

Impact

devalue.parse prior to version 5.9.2 fails to reject out-of-bounds indices. Specially-crafted payloads can exploit this to cause devalue to alternate between different array representations, resulting in work that is quadratic with payload size.

Applications are potentially affected if they call devalue.parse with untrusted data.

Patches

The bug is fixed in devalue@5.9.2.

Affected Software

1 affected componentFixes available
npm/devalue<5.9.1
5.9.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/devalue to a version that resolves this vulnerability.

    Fixed in 5.9.2
  2. Upgrade

    Upgrade devalue to a version that resolves this vulnerability.

    Fixed in 5.9.2

Event History

Sep 17, 2026
Advisory Published
via GitHub·08:28 PM
Data Sourced
via GitHub·08:28 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using devalue versions earlier than 5.9.2 are potentially affected when they call devalue.parse with untrusted data.

2

What does an attacker need to exploit the vulnerability?

An attacker needs to be able to supply a specially crafted payload that is passed to devalue.parse. No privileges or user interaction are required according to the provided severity vector.

3

What is the impact of successful exploitation?

The crafted payload can cause quadratic work relative to payload size by making devalue alternate between different array representations. This can result in reduced availability.

4

What version fixes the issue?

Upgrade devalue to version 5.9.2 or later. The issue is fixed in devalue@5.9.2.

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