# CVE-2026-50171: Angular: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-06-15T16:52:30.000Z
- Modified: 2026-09-10T03:51:09.185Z
- Also known as: GHSA-p3vc-36g9-x9gr
- Weaknesses: CWE-400, CWE-834
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, a Denial of Service (DoS) vulnerability exists in the @angular/common package of Angular. The formatNumber function, which is also utilized by DecimalPipe, PercentPipe, and CurrencyPipe, does not properly validate the upper bounds of the digitsInfo parameter. Specifically, the minimum and maximum fraction digits parsed from the digitsInfo string (e.g., 1.2-4) are converted to integers and used without limits. When parsing a maliciously crafted digitsInfo string with excessively large fraction digit values (e.g., 1.200000000-200000000), the internal roundNumber function attempts to pad the digits array to match the requested fraction size. This results in an unbounded loop that repeatedly pushes elements into an array.  This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

(As written by CVE List.)

## Affected

- angular angular: >= 22.0.0-next.0, < 22.0.0-rc.2; >= 21.0.0-next.0, < 21.2.15; >= 20.0.0-next.0, < 20.3.22; >= 19.0.0-next.0, < 19.2.23; <= 18.2.14; up to 18.2.14; from 19.0.0 before 19.2.23; from 20.0.0 before 20.3.22; from 21.0.0 before 21.2.15; 22.0.0
- @angular/common (npm): from 22.0.0-next.0 before 22.0.0-rc.2; from 20.0.0-next.0 before 20.3.22; from 19.0.0-next.0 before 19.2.23; up to 18.2.14; from 21.0.0-next.0 before 21.2.15

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 6.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50171> (advisory)
- <https://github.com/angular/angular/pull/68840> (web)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-50171](https://www.cve.org/CVERecord?id=CVE-2026-50171), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-p3vc-36g9-x9gr](https://github.com/advisories/GHSA-p3vc-36g9-x9gr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-50171](https://nvd.nist.gov/vuln/detail/CVE-2026-50171), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2026-50171 · Whole record: https://cve.day/CVE-2026-50171.json · Rebuilt by cve.day 2026-11-25T22:59:25.386Z
