Angular: Denial of Service (DoS) via OOM in Date Formatting (formatDate)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| 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; up to 19.2.25 | — | No fix listed | CNA |
| — | @angular/common (npm) | 22.0.0-next.0 to before 22.0.1 | 22.0.1 | Patch available | GHSA-48r7-hpm6-gfxm |
| — | @angular/common (npm) | 21.0.0-next.0 to before 21.2.17 | 21.2.17 | Patch available | GHSA-48r7-hpm6-gfxm |
| — | @angular/common (npm) | 20.0.0-next.0 to before 20.3.25 | 20.3.25 | Patch available | GHSA-48r7-hpm6-gfxm |
| — | @angular/common (npm) | up to 19.2.25 | — | No fix listed | GHSA-48r7-hpm6-gfxm |
- angular Vendorangular Affected >= 22.0.0-next.0 < 22.0.1; >= 21.0.0-next.0 < 21.2.17; >= 20.0.0-next.0 < 20.3.25; up to 19.2.25 Fixed in — No fix listed CNA
- @angular/common (npm) Vendor— Affected 22.0.0-next.0 to before 22.0.1 Fixed in 22.0.1 Patch available GHSA-48r7-hpm6-gfxm
- @angular/common (npm) Vendor— Affected 21.0.0-next.0 to before 21.2.17 Fixed in 21.2.17 Patch available GHSA-48r7-hpm6-gfxm
- @angular/common (npm) Vendor— Affected 20.0.0-next.0 to before 20.3.25 Fixed in 20.3.25 Patch available GHSA-48r7-hpm6-gfxm
- @angular/common (npm) Vendor— Affected up to 19.2.25 Fixed in — No fix listed GHSA-48r7-hpm6-gfxm
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* | up to 19.2.25; 20.0.0 to before 20.3.25; 21.0.0 to before 21.2.17; 22.0.0 to before 22.0.1 | Vulnerable | angular |
- cpe:2.3:a:angular:angular:*:*:*:*:*:node.js:*:* Versions up to 19.2.25; 20.0.0 to before 20.3.25; 21.0.0 to before 21.2.17; 22.0.0 to before 22.0.1 Vulnerable ·angular
Remediation
- Fix · GHSA-48r7-hpm6-gfxm @angular/common (npm) Fixed in 22.0.1 Advisory →
- Fix · GHSA-48r7-hpm6-gfxm @angular/common (npm) Fixed in 21.2.17 Advisory →
- Fix · GHSA-48r7-hpm6-gfxm @angular/common (npm) Fixed in 20.3.25 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
Not affected: 7 products
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ceph Storage 4
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat build of Apicurio Registry 3
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54268
- 2026-10-03 Alias added: GHSA-48r7-hpm6-gfxm
References
Patch 2
Advisory 2
More Angular vulnerabilities
- TI-2026-60076 Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSR CVSS 4.0HIGH 8.6
- TI-2026-60080 Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content Elements CVSS 4.0HIGH 8.6
- TI-2026-60078 Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements CVSS 4.0HIGH 8.6
- TI-2025-37971 A reflected cross-site scripting (XSS) vulnerability in CKeditor v46.1.0 & Angular… CVSS 3.1MEDIUM 5.4
- TI-2026-36931 Angular: URL Parser Differential in @angular/platform-server leading to SSRF Allowlist Bypass CVSS 4.0HIGH 8.8
- TI-2026-34131 Angular: SSRF via Hostname Hijacking in @angular/platform-server CVSS 4.0HIGH 8.8
Sources
- CVE-2026-54268 · CVE Program
- CVE-2026-54268 · NVD
- FIRST EPSS
- GHSA-48r7-hpm6-gfxm · GitHub Advisory Database · CC BY 4.0
- CVE-2026-54268 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences