CVE-2026-46629

MEDIUM

Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 6.5
EPSS 0.0030
EPSS Percentile 22.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-770
Status published
Products (2)
symfony/twig < 3.26.0
twigphp/Twig < 3.26.0
Published Jul 14, 2026
Tracked Since Jul 15, 2026