PatchSiren cyber security CVE debrief
CVE-2026-97058 alexei CVE debrief
A denial-of-service vulnerability exists in sprintf-js through version 1.1.3. The package 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.
- Vendor
- alexei
- Product
- sprintf-js
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-24
- Original CVE updated
- 2026-10-12
- Advisory published
- 2026-09-24
- Advisory updated
- 2026-10-12
Who should care
Defenders responsible for systems using sprintf-js, especially in applications that accept user-controlled format strings, should assess exposure and prioritize verification and potential updates.
Why it matters
This vulnerability allows attackers to cause denial-of-service attacks with minimal payload by injecting precision values exceeding ECMAScript limits. Defenders should prioritize verifying and updating sprintf-js, assessing exposure in systems using this package, and monitoring for potential attacks.
- Potential denial-of-service attacks with minimal payload
- Need for verification of sprintf-js versions and exposure in systems
- Possible impact on applications accepting user-controlled format strings
Technical summary
The sprintf-js package through version 1.1.3 is vulnerable to a denial-of-service attack due to its handling of unbounded precision specifiers. The package does not validate precision specifiers passed to toFixed, toExponential, and toPrecision methods, leading to uncaught RangeError exceptions. This vulnerability can be exploited by attackers who control format strings, allowing them to inject precision values that exceed ECMAScript limits and abort calling operations with minimal payload.
Defensive priority
Defenders should prioritize verifying and updating sprintf-js to a version beyond 1.1.3 if possible, and assess exposure in systems using this package, especially in applications accepting user-controlled format strings.
Recommended defensive actions
- Verify sprintf-js version and update to a version beyond 1.1.3 if possible
- Assess exposure in systems using sprintf-js, especially in applications accepting user-controlled format strings
- Monitor for potential denial-of-service attacks targeting this vulnerability
- Perform vulnerability scanning to identify systems using sprintf-js
- Review and update incident response plans to address potential exploitation
- Implement additional logging and monitoring for systems using sprintf-js
- Conduct a thorough risk assessment to identify potential impacts on business operations
Evidence notes
The CVE record and source item provide details on the vulnerability, including its description and affected versions. However, specific details about exploitation or victim impact are not provided, suggesting a need for further verification.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-97058 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-97058
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-97058 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-97058
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
sprintf-js through 1.1.3 Denial of Service via Unbounded Precision
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/97xxx/CVE-2026-97058.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/alexei/sprintf.js/issues/237
Supplemental source - issue-tracking
-
Source reference
Unverified legacy reference
URL: https://github.com/alexei/sprintf.js/blob/3a0d8c26d291b5bd9f1974877ecc50739921d6f5/src/sprintf.js
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/alexei/sprintf.js
Supplemental source - product
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/sprintf-js-through-1.1.3-denial-of-service-via-unbounded-precision
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.