{"id":"CVE-2026-46629","published":"2026-07-14T21:22:15Z","modified":"2026-07-15T12:53:13Z","title":"Twig: Unbounded formatter memoisation in twig/intl-extra keyed on template-controlled arguments","vendor":"twigphp","product":"Twig","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00542,"percentile":0.46484,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-35wc-cvqg-78fp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/twigphp/Twig/commit/6add9066fc5c0455eb764c1f3af6e4e4e3562419","tags":["x_refsource_MISC"]},{"url":"https://github.com/twigphp/Twig/releases/tag/v3.26.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":9.3},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"twigphp","affectedVersions":[{"vendor":"twigphp","product":"Twig","versions":["< 3.26.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-15T12:52:19.614484Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"twig/intl-extra","vulnerableRanges":["<3.26.0"],"patched":["3.26.0"],"from":["GHSA-35wc-cvqg-78fp"],"provenance":"source"}],"summary":{"text":"Twig's twig/intl-extra package, prior to version 3.26.0, memoises IntlDateFormatter and NumberFormatter instances in arrays keyed by template-controlled filter arguments such as locale, pattern and attrs. An attacker able to supply or influence the template, with low privileges and network access, can cause a large number of these formatter objects to be allocated and retained for the lifetime of the Twig environment, exhausting resources.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:29Z"},"euvd":{"id":"EUVD-2026-44568","exploited":false,"provenance":"source"}}