CVE Catalog

CVE-2026-46629

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

A vulnerability in the Twig library (versions prior to 3.26.0) allows allocating a large number of ICU formatter objects via template-controlled filter arguments, leading to memory exhaustion. The issue is fixed in version 3.26.0.

Risk Assessment

An attacker can exploit this vulnerability to perform a Denial of Service (DoS) attack by overloading the application server, potentially causing service unavailability for users.

Recommendation

Immediately update the Twig library to version 3.26.0 or later. If an update is not possible, restrict access to user-controlled templates.

Other vulnerabilities in Twig

See all
Original NVD description (English source)

Twig is a template language for PHP. Prior to 3.26.0, twig/intl-extra memoises IntlDateFormatter and NumberFormatter instances in arrays keyed by template-controlled filter arguments such as locale, pattern, and attrs, allowing a template to allocate many ICU formatter objects that remain pinned for the lifetime of the Twig\Environment. This issue is fixed in version 3.26.0.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS