CVE-2026-50171
Angular: Denial of Service (DoS) via OOM in Number Formatting (digitsInfo)
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.256% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T19:48:17.831Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.2 · published by GitHub_MCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T19:05:39.180Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T19:48:17.831Z | CISA KEV |
| cvss | verified | 2026-11-19T19:05:39.180Z | CVE Program |
| epss | verified | 2026-11-19T20:08:21.720Z | FIRST EPSS |
| patches | verified | 2026-11-19T19:03:45.740Z | OSV |
| affected | verified | 2026-11-19T19:05:39.180Z | CVE Program |
| lifecycle | verified | 2026-11-19T19:05:39.180Z | CVE Program |
Affected versions and configuration
angular angular; default status: unknown: >= 22.0.0-next.0, < 22.0.0-rc.2 [affected; scheme: unspecified]; >= 21.0.0-next.0, < 21.2.15 [affected; scheme: unspecified]; >= 20.0.0-next.0, < 20.3.22 [affected; scheme: unspecified]; >= 19.0.0-next.0, < 19.2.23 [affected; scheme: unspecified]; <= 18.2.14 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"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"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-50171",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-06-23T14:16:53.849153Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-23T16:02:07.902Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-p3vc-36g9-x9gr",
"aliases": [
"CVE-2026-50171"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "22.0.0-next.0"
},
{
"fixed": "22.0.0-rc.2"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p3vc-36g9-x9gr/GHSA-p3vc-36g9-x9gr.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "20.0.0-next.0"
},
{
"fixed": "20.3.22"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p3vc-36g9-x9gr/GHSA-p3vc-36g9-x9gr.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "19.0.0-next.0"
},
{
"fixed": "19.2.23"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p3vc-36g9-x9gr/GHSA-p3vc-36g9-x9gr.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"last_affected": "18.2.14"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p3vc-36g9-x9gr/GHSA-p3vc-36g9-x9gr.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "21.0.0-next.0"
},
{
"fixed": "21.2.15"
}
]
}
],
"package": {
"name": "@angular/common",
"purl": "pkg:npm/%40angular/common",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p3vc-36g9-x9gr/GHSA-p3vc-36g9-x9gr.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/angular/angular/security/advisories/GHSA-p3vc-36g9-x9gr",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-50171",
"type": "ADVISORY"
},
{
"url": "https://github.com/angular/angular/pull/68840",
"type": "WEB"
},
{
"url": "https://github.com/angular/angular",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-400",
"CWE-834"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-06-22T18:16:42Z",
"github_reviewed_at": "2026-06-15T16:52:30Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | @angular/common | Not a distribution channel | 22.0.0-rc.2 | Official record |
| ecosystem-boundary | npm / package | @angular/common | Not a distribution channel | 20.3.22 | Official record |
| ecosystem-boundary | npm / package | @angular/common | Not a distribution channel | 19.2.23 | Official record |
| ecosystem-boundary | npm / package | @angular/common | Not a distribution channel | 21.2.15 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T19:05:39.180ZArchived source JSON
Source publication: 2026-06-22T15:49:51.774Z
Source modification: 2026-06-23T16:02:07.902ZDocument fingerprint
84614b2ad2d85c489626e6d5f9558209351de9a39ddb921be2344e778c584b28 - CISA KEVConsulted: 2026-11-19T19:48:17.831ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T19:03:45.740ZArchived source JSON
Source publication: 2026-06-15T16:52:30.000Z
Source modification: 2026-09-10T03:51:09.185ZDocument fingerprint
db0f55c489a6508a7b9877f8cef06e368a26468db06368568d9b211d016daa08 - FIRST EPSSConsulted: 2026-11-19T20:08:21.720ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
2819da6a2cead6c6964c43e1ec5dc590ef6582ebac3bca065149dd61e120ba5a
Official status history
- UNKNOWN → PUBLISHED · · evidence