Back
CVE-2017-7813
Inside the JavaScript parser, a cast of an integer to a narrower type can result in data read from outside the buffer being parsed. This…
High8.2EPSS 1.6%
- Published
- Updated
- Reserved
- Assigned by
- mozilla
Description
Inside the JavaScript parser, a cast of an integer to a narrower type can result in data read from outside the buffer being parsed. This usually results in a non-exploitable crash, but can leak a limited amount of information from memory if it matches JavaScript identifier syntax. This vulnerability affects Firefox < 56.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.6% · top 25% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Weakness
- Integer truncation in the JavaScript parser
- CWE-125 (opens in a new tab)All about CWE-125 and its CVEs
- CWE-704 (opens in a new tab)All about CWE-704 and its CVEs
Affected products
References (4)
- https://bugzilla.mozilla.org/show_bug.cgi?id=1383951 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1039465 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://www.mozilla.org/security/advisories/mfsa2017-21/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- 101057 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-7813)Record last updated .