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

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 19.2.23, 20.3.22, 21.2.15, 22.0.0-rc.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-06-22 · Modified: 2026-06-23
- Aliases: UBUNTU-CVE-2026-50171, DEBIAN-CVE-2026-50171, CGA-2mmg-m2q9-hpx8, CGA-2v8r-52q6-65w2, CGA-34x2-8j8g-m88c, CGA-36w4-gwf2-cj9j, CGA-3q34-3vrv-vmvh, CGA-53m5-6rgv-q5rp, CGA-572j-x3jq-5qpf, CGA-5hhf-xjr8-h5m8, CGA-7rvc-f8qw-j56c, CGA-89j8-g4jw-hv33, CGA-8h35-hwhc-gcq5, CGA-8jw4-pp5w-qf4v, CGA-8vph-cmxv-f5w6, CGA-8wfv-cch3-wppm, CGA-9wg4-w957-j952, CGA-fj9p-998j-xj4w, CGA-gf2m-crp5-w8fv, CGA-gfgg-hh8h-67m8, CGA-gw5f-vjpr-9647, CGA-h742-5mhx-p593, CGA-h9c3-xmvh-vjgg, CGA-jpf8-jjfq-8q4c, CGA-m63h-8492-6p25, CGA-m6h7-p45c-3mff, CGA-mfjq-38fp-qm4m, CGA-mw2w-x4fr-g364, CGA-p267-g468-pm9h, CGA-pgx9-m7xc-pxw7, CGA-q2hv-98c7-hgcf, CGA-q49j-m944-rjm3, CGA-r722-5wvr-8xp4, CGA-rj4r-843q-75rw, CGA-rq5q-gccv-xhwx, CGA-vc8w-v5vp-rr5j, CGA-w84m-x8qx-8mfm, CGA-wfx3-4v9r-ph8f, CGA-wm42-6q8g-5j84, CGA-x24h-27wc-7269, GHSA-p3vc-36g9-x9gr
- Record: https://cvemate.com/vulnerability/CVE-2026-50171 · JSON: https://cvemate.com/vulnerability/CVE-2026-50171/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.161%, percentile 5.44%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- 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 \| ≥ 19.0.0, \< 19.2.23 \| ≥ 20.0.0, \< 20.3.22 \| ≥ 21.0.0, \< 21.2.15 \| 22.0.0:next0 \| 22.0.0:next1 \| 22.0.0:next10 \| 22.0.0:next11 \| 22.0.0:next12 \| 22.0.0:next2 \| 22.0.0:next3 \| 22.0.0:next4 \| 22.0.0:next5 \| 22.0.0:next6 \| 22.0.0:next7 \| 22.0.0:next8 \| 22.0.0:next9 \| 22.0.0:rc0 \| 22.0.0:rc1
- chainguard katib-earlystopping (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-goptuna-compat (Chainguard): All versions (No fix recorded) \| \< 0.19.0-r40
- chainguard katib-suggestion-hyperband (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-hyperopt (Chainguard): \< 0.19.0-r31 \| \< 0.19.0-r40
- chainguard katib-suggestion-nas-darts (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-nas-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-optuna-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-pbt-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-suggestion-skopt-enas (Chainguard): \< 0.19.0-r31
- chainguard katib-tfevent-metricscollector (Chainguard): \< 0.19.0-r31
- wolfi katib-earlystopping (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-goptuna-compat (Wolfi): All versions (No fix recorded) \| \< 0.19.0-r40
- wolfi katib-suggestion-hyperband (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-hyperopt (Wolfi): \< 0.19.0-r31 \| \< 0.19.0-r40
- wolfi katib-suggestion-nas-darts (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-nas-enas (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-optuna-enas (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-pbt-enas (Wolfi): \< 0.19.0-r31
- wolfi katib-suggestion-skopt-enas (Wolfi): \< 0.19.0-r31

## References

- <https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr>
- <https://ubuntu.com/security/CVE-2026-50171>
- <https://www.cve.org/CVERecord?id=CVE-2026-50171>
- <https://security-tracker.debian.org/tracker/CVE-2026-50171>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50171.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50171>
- <https://github.com/angular/angular/pull/68840>
- <https://github.com/angular/angular>

---

Data as of 2026-12-05T03:44:23.245Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
