CVE-2026-133773
published low CVSS 4.0 · 2.3Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Options
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Twig | — | twig/markdown-extra0 to < 3.31.1 · Other versions: unaffected | Affected | Not stated | Symfony |
Description
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. The cache now keeps at most 100 converters, like the formatter caches of IntlExtension.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- Symfony · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Twig | twig/markdown-extra | 0 to < 3.31.1 (affected · semver)Default: unaffected | Symfony · cna |
Weaknesses
1- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
References
3- https://github.com/twigphp/Twig/commit/6f9962f230425da39e970023a322d641c9089035
- GHSA-cxp7-29fv-2j25 https://github.com/twigphp/Twig/security/advisories/GHSA-cxp7-29fv-2j25
- CVE-2026-133773 https://symfony.com/cve-2026-133773
Provider assertions
2Symfony · cna
Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Options
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0faffd02924b599ceeea7f8000cb14dfc704c9149071fcbb0fe7fb7e5a61b436
- Ingested
- 01 Dec 2026, 19:45:57 UTC
- Source record
- Official CVE record