{"id":"CVE-2026-54268","published":"2026-06-22T15:31:47Z","modified":"2026-06-23T16:09:21Z","title":"Angular: Denial of Service (DoS) via OOM in Date Formatting (formatDate)","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00583,"percentile":0.41822,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-48r7-hpm6-gfxm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/pull/69197","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/eeb03f4ea310e2e51ba5d53a421ec7b418e186cd","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":8.36},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":[">= 22.0.0-next.0 < 22.0.1",">= 21.0.0-next.0 < 21.2.17",">= 20.0.0-next.0 < 20.3.25","<= 19.2.25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T16:07:25.833697Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/common","vulnerableRanges":[">=22.0.0-next.0, <22.0.1",">=21.0.0-next.0, <21.2.17",">=20.0.0-next.0, <20.3.25","<=19.2.25"],"patched":["22.0.1","21.2.17","20.3.25"],"from":["GHSA-48r7-hpm6-gfxm"],"provenance":"source"}],"summary":{"text":"A denial-of-service flaw in the formatDate function of the @angular/common package in the Angular framework (also used by the standard DatePipe) fails to limit the length of the format parameter. An unauthenticated remote attacker who can supply a maliciously crafted, excessively long date format string to an application's date formatting can exhaust CPU and memory and cause a denial of service, requiring no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:44Z"},"euvd":{"id":"EUVD-2026-38273","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-50170","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false},{"cve":"CVE-2026-50171","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false,"link":{"from":"CVE-2026-50171","to":"CVE-2026-54268","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/common","fromFixed":"21.2.15","toFixed":"21.2.17","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:@angular/common","fromFixed":"20.3.22","toFixed":"20.3.25","daysApart":0}]}},{"cve":"CVE-2026-54266","published":"2026-06-22","fixed":"22.0.1","kev":false},{"cve":"CVE-2026-54268","published":"2026-06-22","fixed":"22.0.1","kev":false},{"cve":"CVE-2026-68945","published":"2026-08-03","fixed":"22.0.2","kev":false,"link":{"from":"CVE-2026-54268","to":"CVE-2026-68945","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/common","fromFixed":"22.0.1","toFixed":"22.0.2","daysApart":42},{"kind":"version-step","provenance":"source","package":"npm:@angular/common","fromFixed":"21.2.17","toFixed":"21.2.19","daysApart":42}]}},{"cve":"CVE-2026-88059","published":"2026-09-10","fixed":"22.1.1","kev":false}],"package":"npm:@angular/common"}}