CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-50171

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.2 · high

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_M
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
Assessment source · checked 2026-11-19T19:05:39.180Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T19:48:17.831ZCISA KEV
cvssverified2026-11-19T19:05:39.180ZCVE Program
epssverified2026-11-19T20:08:21.720ZFIRST EPSS
patchesverified2026-11-19T19:03:45.740ZOSV
affectedverified2026-11-19T19:05:39.180ZCVE Program
lifecycleverified2026-11-19T19:05:39.180ZCVE 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / package@angular/commonNot a distribution channel22.0.0-rc.2Official record
ecosystem-boundarynpm / package@angular/commonNot a distribution channel20.3.22Official record
ecosystem-boundarynpm / package@angular/commonNot a distribution channel19.2.23Official record
ecosystem-boundarynpm / package@angular/commonNot a distribution channel21.2.15Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history