CVE-2026-50171
Angular: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)
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.
INFO
Published Date :
June 22, 2026, 6:16 p.m.
Last Modified :
July 9, 2026, 3:41 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-50171
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update @angular/common to 22.0.0-rc.2 or later.
- Update @angular/common to 21.2.15 or later.
- Update @angular/common to 20.3.22 or later.
- Update @angular/common to 19.2.23 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-50171.
| URL | Resource |
|---|---|
| https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-50171 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-50171
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-50171 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-50171 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Reanalysis by [email protected]
Jul. 09, 2026
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions up to (including) 18.2.14 *cpe:2.3:a:angularjs:angularjs:22.0.0:next0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next10:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next11:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next12:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next2:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next3:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next4:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next5:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next6:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next7:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next8:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next9:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 19.0.0 up to (excluding) 19.2.23 *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 20.0.0 up to (excluding) 20.3.22 *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.2.15 OR *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions up to (including) 18.2.14 *cpe:2.3:a:angular:angular:22.0.0:next0:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next1:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next2:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next3:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next4:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next5:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next6:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next7:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next8:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions from (including) 19.0.0 up to (excluding) 19.2.23 *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions from (including) 20.0.0 up to (excluding) 20.3.22 *cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* versions from (including) 21.0.0 up to (excluding) 21.2.15 *cpe:2.3:a:angular:angular:22.0.0:next10:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next11:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next12:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:next9:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:rc0:*:*:*:node.js:*:* *cpe:2.3:a:angular:angular:22.0.0:rc1:*:*:*:node.js:*:* -
Initial Analysis by [email protected]
Jun. 26, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions up to (including) 18.2.14 *cpe:2.3:a:angularjs:angularjs:22.0.0:next0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next10:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next11:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next12:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next2:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next3:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next4:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next5:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next6:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next7:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next8:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:next9:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc0:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:22.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 19.0.0 up to (excluding) 19.2.23 *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 20.0.0 up to (excluding) 20.3.22 *cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.2.15 Added Reference Type GitHub, Inc.: https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 23, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-50171', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-23T14:16:53.849153Z'} -
New CVE Received by [email protected]
Jun. 22, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'angular', 'product': 'angular', 'versions': [{'status': 'affected', 'version': '>= 22.0.0-next.0, < 22.0.0-rc.2'}, {'status': 'affected', 'version': '>= 21.0.0-next.0, < 21.2.15'}, {'status': 'affected', 'version': '>= 20.0.0-next.0, < 20.3.22'}, {'status': 'affected', 'version': '>= 19.0.0-next.0, < 19.2.23'}, {'status': 'affected', 'version': '<= 18.2.14'}]}] Added 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. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-400 Added CWE CWE-834 Added Reference https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr