# CVE-2026-134791

Symfony expression lexer flaw allows CPU exhaustion DoS via crafted unclosed comments

- Page: https://www.vulneraibility.com/cve/CVE-2026-134791
- CVSS: 8.7
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.89% (percentile 57.3)
- Weakness: CWE-407
- Published: 2026-11-25

## Affected versions

- Symfony symfony/expression-language: affected >= 7.2.0 and < 7.4.24; >= 8.0.0 and < 8.1.12
- Symfony symfony/symfony: affected >= 7.2.0 and < 7.4.24; >= 8.0.0 and < 8.1.12

A version outside these ranges is not a statement that it is unaffected.

## Impact

Remote Denial of Service: specially crafted expressions with unclosed /* cause excessive lexing CPU, slowing or crashing apps that parse/lint untrusted expressions.

## Action

Patch when possible

## Recommendation

Upgrade Symfony to the fixed release and block/validate untrusted expressions

## References

- [advisory] https://symfony.com/cve-2026-134791
- [advisory] https://github.com/symfony/symfony/security/advisories/GHSA-5vf6-gchv-cmcr
- [patch] https://github.com/symfony/symfony/commit/e098ffa5936c7c238b9c1a9d5cb82def4573de4f

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
