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.
References
| Link | Resource |
|---|---|
| https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
26 Jun 2026, 19:32
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:angularjs:angularjs:22.0.0:rc1:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next0:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next6:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next3:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next11:*:*:*:*:*:* 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:next5:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next2:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next1:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next7:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next10:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next8:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next4:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:22.0.0:next12:*:*:*:*:*:* cpe:2.3:a:angularjs:angularjs:*:*:*:*:*:*:*:* |
|
| References | () https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr - Third Party Advisory | |
| First Time |
Angularjs
Angularjs angularjs |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
22 Jun 2026, 18:21
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-22 18:16
Updated : 2026-06-26 19:32
NVD link : CVE-2026-50171
Mitre link : CVE-2026-50171
CVE.ORG link : CVE-2026-50171
JSON object : View
Products Affected
angularjs
- angularjs
