CVE-2026-50171 Angular: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| angular | = >= 22.0.0-next.0, < 22.0.0-rc.2 | No fix listed |
| angular | = >= 21.0.0-next.0, < 21.2.15 | No fix listed |
| angular | = >= 20.0.0-next.0, < 20.3.22 | No fix listed |
| angular | = >= 19.0.0-next.0, < 19.2.23 | No fix listed |
| angular | = <= 18.2.14 | No fix listed |
| redhat/common(Red Hat:jboss_fuse:7) | All versions | No fix listed |
| angular common(npm) | >= 22.0.0-next.0, < 22.0.0-rc.2 | 22.0.0-rc.2 |
| angular common(npm) | >= 20.0.0-next.0, < 20.3.22 | 20.3.22 |
| angular common(npm) | >= 19.0.0-next.0, < 19.2.23 | 19.2.23 |
| angular common(npm) | <= 18.2.14 | No fix listed |
| angular common(npm) | >= 21.0.0-next.0, < 21.2.15 | 21.2.15 |
| debian/angular.js(Debian:12) | All versions | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1+deb12u1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-1+deb12u1~deb11u1 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-2 | No fix listed |
| debian/angular.js(Debian:12) | = 1.8.3-3 | No fix listed |
| debian/angular.js(Debian:13) | All versions | No fix listed |
| debian/angular.js(Debian:13) | = 1.8.3-3 | No fix listed |
| ubuntu/angular.js(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/angular.js(Ubuntu:26.10) | All versions | No fix listed |
| angular | <= 18.2.14 | No fix listed |
| angular | >= 19.0.0, < 19.2.23 | 19.2.23 |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| angular | >= 20.0.0, < 20.3.22 | 20.3.22 |
| angular | >= 21.0.0, < 21.2.15 | 21.2.15 |
| angular | = 22.0.0-next0 | No fix listed |
| angular | = 22.0.0-next1 | No fix listed |
| angular | = 22.0.0-next10 | No fix listed |
| angular | = 22.0.0-next11 | No fix listed |
| angular | = 22.0.0-next12 | No fix listed |
| angular | = 22.0.0-next2 | No fix listed |
| angular | = 22.0.0-next3 | No fix listed |
| angular | = 22.0.0-next4 | No fix listed |
| angular | = 22.0.0-next5 | No fix listed |
| angular | = 22.0.0-next6 | No fix listed |
| angular | = 22.0.0-next7 | No fix listed |
| angular | = 22.0.0-next8 | No fix listed |
| angular | = 22.0.0-next9 | No fix listed |
| angular | = 22.0.0-rc0 | No fix listed |
| angular | = 22.0.0-rc1 | No fix listed |
References
- https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr third-party-advisory vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2491477 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- Debian Security Tracker CVE-2026-50171 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- github.com product