# CVE-2026-54268: Angular: Denial of Service (DoS) via OOM in Date Formatting (formatDate)

- Severity: High 8.2 (CVSS:4.0, scored 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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-06-15T17:24:52.000Z
- Modified: 2026-09-10T03:50:48.022Z
- Also known as: GHSA-48r7-hpm6-gfxm
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- angular angular: >= 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; up to 19.2.25; from 20.0.0 before 20.3.25; from 21.0.0 before 21.2.17; from 22.0.0 before 22.0.1
- @angular/common (npm): from 22.0.0-next.0 before 22.0.1; from 21.0.0-next.0 before 21.2.17; from 20.0.0-next.0 before 20.3.25; up to 19.2.25

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/angular/angular/security/advisories/GHSA-48r7-hpm6-gfxm> (vendor-advisory, web)
- <https://github.com/angular/angular/pull/69197> (issue-tracking, patch, web)
- <https://github.com/angular/angular/commit/eeb03f4ea310e2e51ba5d53a421ec7b418e186cd> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54268> (advisory)
- <https://github.com/angular/angular> (package)

## Sources

- CVE List: [CVE-2026-54268](https://www.cve.org/CVERecord?id=CVE-2026-54268), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-48r7-hpm6-gfxm](https://github.com/advisories/GHSA-48r7-hpm6-gfxm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54268](https://nvd.nist.gov/vuln/detail/CVE-2026-54268), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2026-54268 · Whole record: https://cve.day/CVE-2026-54268.json · Rebuilt by cve.day 2026-11-25T22:59:25.375Z
