Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-54268
Published:June 22, 2026
Updated:June 29, 2026
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.
Affected Packages
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=v21.0.4 <v21.2.17
Fix Suggestion:
Update to version v21.2.17
https://github.com/angular/angular.git (GITHUB):
Affected version(s) >=v20.3.16 <v20.3.25
Fix Suggestion:
Update to version v20.3.25
@angular/common (NPM):
Affected version(s) >=22.0.0-next.0 <22.0.1
Fix Suggestion:
Update to version 22.0.1
@angular/common (NPM):
Affected version(s) >=20.0.0-next.0 <20.3.25
Fix Suggestion:
Update to version 20.3.25
@angular/common (NPM):
Affected version(s) >=21.0.0-next.0 <21.2.17
Fix Suggestion:
Update to version 21.2.17
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Regular Expression Complexity
Uncontrolled Resource Consumption
EPSS
Base Score:
0.33