Withdrawn Advisory: sprintf-js vulnerable to denial of service through unbounded precision specifiers

GHSA-hp3w-g68c-fv3c
OSV

At a glance

Source
OSV
Withdrawn
Published
Updated
CVE
CVE-2026-97058
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Description

### Withdrawn Advisory This advisory has been withdrawn because it is the responsibility of an application to handle exceptions appropriately. This link is maintained to preserve external references. ### Original Description 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.

References

Affected packages

PackageVersions
npm · sprintf-jsintroduced 0, last affected 1.1.3

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database