PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-133773 Twig CVE debrief

A memory consumption vulnerability exists in twig/markdown-extra due to unbounded cache growth. The html_to_markdown filter keeps an HtmlConverter for each distinct mapping of options it receives in a static array with no size limit or eviction. A template passing options taken from input or a sandboxed template can make this cache grow without limit, filling the memory of long-running workers.

Vendor
Twig
Product
twig/markdown-extra
CVSS
LOW 2.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-24
Original CVE updated
2026-11-24
Advisory published
2026-11-24
Advisory updated
2026-11-24

Who should care

Defenders responsible for long-running worker environments using twig/markdown-extra should assess exposure and potential impact on system performance. They should prioritize verifying exposure in these environments and assessing the impact of potential memory consumption on system performance. Additionally, operators, platform administrators, vulnerability management teams, and security teams may be impacted by this vulnerability and should take necessary

Why it matters

Defenders should prioritize verifying exposure in long-running worker environments using twig/markdown-extra and assessing the impact of potential memory consumption on system performance due to unbounded cache growth.

  • Potential memory consumption leading to performance degradation
  • Verification of exposure in long-running worker environments
  • Assessment of impact on system performance

Technical summary

The html_to_markdown filter of twig/markdown-extra keeps an HtmlConverter for each distinct mapping of options it receives in a static array with no size limit and no eviction. A template passing options taken from input or a sandboxed template can make this cache grow without limit, filling the memory of long-running workers. This vulnerability can lead to memory consumption, causing performance degradation in long-running worker environments using twig/markdown-extra. Defenders should prioritize verifying exposure in these environments and assessing the impact of potential memory consumption on system performance.

Defensive priority

Defenders should prioritize verifying exposure in long-running worker environments using twig/markdown-extra and assessing the impact of potential memory consumption on system performance.

Recommended defensive actions

  • Verify exposure in long-running worker environments using twig/markdown-extra
  • Assess the impact of potential memory consumption on system performance
  • Consider upgrading to version 3.31.1 or later of twig/markdown-extra
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability, but evidence of exploitation or specific impact is limited. Official sources, including the CVE Program and NVD, confirm the vulnerability exists.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-133773 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-133773

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-133773 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-133773

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.