CVE-2026-97058: sprintf-js through 1.1.3 Denial of Service via Unbounded Precision

Published Sep 24, 2026
·
Updated

sprintf-js through 1.1.3 passes unbounded precision specifiers to toFixed, toExponential, and toPrecision methods without validation, causing uncaught RangeError exceptions. Attackers who control format strings can inject precision values exceeding ECMAScript limits to abort calling operations with minimal payload.

Affected Software

1 affected component
npm/sprintf-js<=1.1.3

Event History

Sep 24, 2026
CVE Published
via MITRE·01:51 PM
Data Sourced
via MITRE·01:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using npm/sprintf-js through 1.1.3 are exposed when an attacker can influence a format string that the application passes to the library. The impact is limited to availability of the calling operation because malformed precision values trigger an uncaught RangeError.

2

What does an attacker need to exploit it?

The attacker needs control over all or part of a format string, specifically enough control to supply a precision specifier exceeding ECMAScript limits. No authentication or user interaction is required according to the supplied vector.

3

How can I determine whether my application is affected?

Check whether your dependency tree includes sprintf-js version 1.1.3 or earlier, then identify calls that process format strings derived from untrusted input. Affected paths can be confirmed by testing an oversized precision specifier and observing whether the operation terminates with an uncaught RangeError.

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