Vulnerabilities

CVE-2026-50171

Medium 6.1 CVSS 3.1

Description

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, a Denial of Service (DoS) vulnerability exists in the @angular/common package of Angular. The formatNumber function, which is also utilized by DecimalPipe, PercentPipe, and CurrencyPipe, does not properly validate the upper bounds of the digitsInfo parameter. Specifically, the minimum and maximum fraction digits parsed from the digitsInfo string (e.g., 1.2-4) are converted to integers and used without limits. When parsing a maliciously crafted digitsInfo string with excessively large fraction digit values (e.g., 1.200000000-200000000), the internal roundNumber function attempts to pad the digits array to match the requested fraction size. This results in an unbounded loop that repeatedly pushes elements into an array. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.

Description as published by the source, in English.

Key facts

Published
2026-06-22
Last modified
2026-07-09
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 6 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Angular Angular ≤ 18.2.14 Affected
Angular Angular 22.0.0 Affected
Angular Angular ≥ 19.0.0, < 19.2.23 Affected
Angular Angular ≥ 20.0.0, < 20.3.22 Affected
Angular Angular ≥ 21.0.0, < 21.2.15 Affected
angular common (npm) ≤ 18.2.14 Affected
angular common (npm) ≥ 19.0.0-next.0, < 19.2.23 Affected
angular common (npm) ≥ 20.0.0-next.0, < 20.3.22 Affected
angular common (npm) ≥ 21.0.0-next.0, < 21.2.15 Affected
angular common (npm) ≥ 22.0.0-next.0, < 22.0.0-rc.2 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1499: Endpoint Denial of Service impact

References

Related at Berigo

Articles

Services

  • NIS2 for the Board

    NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …

  • AI Governance

    Berigo helps organisations adopt artificial intelligence responsibly and with clear governance: from EU AI Act readiness to management systems aligne…

  • Secure Post-Merger Integration

    Support for secure integration after acquisitions, mergers and carve-outs: from day-1 readiness to a consolidated ISMS and regulatory continuity.

  • ISO/IEC 27001: advisory and certification readiness

    ISO/IEC 27001 advisory and an information security management system that is used in practice and able to withstand a certification audit. Choose a g…

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities