{"id":"CVE-2026-133773","aliases":["GHSA-cxp7-29fv-2j25"],"title":"Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Options","originalDescription":"The html_to_markdown filter of twig/markdown-extra keeps an HtmlConverter for each distinct mapping of options it receives. They're kept in a static array, with no size limit and no eviction. The options are an argument of the filter. A template that passes options taken from the input, or a sandboxed template, can therefore make this cache grow without limit. The cache outlives the environment, so it fills the memory of long-running workers.\n\nThe cache now keeps at most 100 converters, like the formatter caches of IntlExtension.","severity":{"cvss":2.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","label":"low"},"exploitation":{"kev":null,"epss":{"score":0.00581,"percentile":0.41778},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"twig/markdown-extra","range":">=0, <3.31.1","fixed":"3.31.1"}],"references":[{"url":"https://symfony.com/cve-2026-133773","type":"vendor-advisory"},{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-cxp7-29fv-2j25","type":"vendor-advisory"},{"url":"https://github.com/twigphp/Twig/commit/6f9962f230425da39e970023a322d641c9089035","type":"patch"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133773.json","type":"advisory"},{"url":"https://github.com/twigphp/Twig","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133773","type":"advisory"},{"url":"https://packagist.org","type":"web"}],"sources":[{"name":"nvd","at":"2026-11-24T19:02:21.157Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133773","license":"NVD terms of use","firstSeenAt":"2026-11-24T13:30:19.620Z"},{"name":"osv","at":"2026-11-27T08:12:35.013Z","url":"https://osv.dev/vulnerability/CVE-2026-133773","license":"CC-BY 4.0","firstSeenAt":"2026-11-24T15:09:29.119Z"},{"name":"cvelistV5","at":"2026-11-29T04:45:27.400Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133773","license":"CVE Terms of Use","firstSeenAt":"2026-11-24T13:27:33.752Z"}],"firstSeenAt":"2026-11-24T13:27:33.752Z","publishedAt":"2026-11-24T13:07:55.938Z","modifiedAt":"2026-11-27T07:00:12.229Z"}