{"cve":"CVE-2026-54268","nvd":{"published":"2026-06-22T16:16:39.590","modified":"2026-07-09T15:39:41.960","status":"Analyzed","description":"Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 20.3.25, a Denial of Service (DoS) vulnerability exists in the @angular/common package of the Angular framework. The formatDate function, which is also utilized by the standard Angular DatePipe, does not properly limit or validate the length of the format parameter. When parsing a maliciously crafted, excessively long date format string (e.g., a repeating pattern or very large string), the internal parser splits the string iteratively using a regular expression loop. This results in uncontrolled resource consumption (high CPU utilization and excessive memory allocations), leading to a Denial of Service (DoS). This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.","cvss_v4":{"vector":"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","score":8.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-1333"],"references":["https://github.com/angular/angular/commit/eeb03f4ea310e2e51ba5d53a421ec7b418e186cd","https://github.com/angular/angular/pull/69197","https://github.com/angular/angular/security/advisories/GHSA-48r7-hpm6-gfxm"],"products":["angular:angular"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-54268","score":0.00583,"percentile":0.47893,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-48r7-hpm6-gfxm","url":"https://osv.dev/vulnerability/GHSA-48r7-hpm6-gfxm","summary":"@angular/common: Denial of Service (DoS) via OOM in Date Formatting (formatDate)","modified":"2026-09-10T03:50:48.022821023Z","packages":[{"ecosystem":"npm","name":"@angular/common","purl":"pkg:npm/%40angular/common","ranges":[">=22.0.0-next.0 <22.0.1"],"fixed":["22.0.1"]},{"ecosystem":"npm","name":"@angular/common","purl":"pkg:npm/%40angular/common","ranges":[">=21.0.0-next.0 <21.2.17"],"fixed":["21.2.17"]},{"ecosystem":"npm","name":"@angular/common","purl":"pkg:npm/%40angular/common","ranges":[">=20.0.0-next.0 <20.3.25"],"fixed":["20.3.25"]},{"ecosystem":"npm","name":"@angular/common","purl":"pkg:npm/%40angular/common","ranges":["<=19.2.25"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}