Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-134791 — Symfony symfony/expression-language

High · CVSS 8.7EPSS 0.9% First seen November 25, 2026

One of 2 Symfony symfony/expression-language vulnerabilities published together by NVD: our article covers all of them.

PHPWebVulnerabilities

Research article

Symfony Expression Language Inefficient Algorithmic Complexity in CVE-2026-134791

CVECVE-2026-134791
Vendor and productSymfony symfony/expression-language; Symfony symfony/symfony
PublishedNovember 26, 2026 07:25 UTC
Research cut-offNovember 26, 2026 06:55 UTC
Sources reviewed3: NVD record (last modified 2026-11-25); CISA KEV catalog; FIRST EPSS (2026-11-25)

Executive summary

CVE-2026-134791 involves an inefficient algorithmic complexity issue in Symfony's expression language, with a CVSS 4.0 score of 8.7 HIGH. The vulnerability affects versions of Symfony from 7.2.0 up to 7.4.24 and 8.0.0 up to 8.1.12. The reviewed sources do not report exploitation. The main action is to update to the fixed versions [1].

Key points

  • CVE-2026-134791 is an inefficient algorithmic complexity issue in Symfony's expression language [1].
  • The vulnerability affects versions of Symfony from 7.2.0 up to 7.4.24 and 8.0.0 up to 8.1.12 [1].
  • The reviewed sources do not report exploitation [2].
  • The CVSS 4.0 score for this vulnerability is 8.7 HIGH [1].
  • Organizations should update to the fixed versions 7.4.24 or 8.1.12 to address the issue [1].

Vulnerability identification

FieldValue
CVE IDCVE-2026-134791 [1]
VendorSymfony [1]
Productsymfony/expression-language, symfony/symfony [1]
CWECWE-407 (Inefficient Algorithmic Complexity) [1]
CVSS 4.08.7 HIGH, scored by b5aa5c7f-767d-4597-9c64-3ac08b8711c6 (Secondary) [1]
Published2026-11-25T10:17:14 [1]
Last Modified2026-11-25T20:18:36 [1]
Record StatusReceived [1]

Vulnerability description

The issue occurs due to how the Symfony expression language lexer processes comments. If a comment is not closed properly, the lexer repeatedly scans the rest of the expression, leading to poor performance. This can result in significant delays when analyzing large expressions [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates the vulnerability can be accessed remotely (AV:N), requires no user input (UI:N), and no specific privileges are needed (PR:N). It has a high impact on system availability (VA:H) [1].

Impact analysis

The CVSS vector highlights a high risk to availability (VA:H). The description explains that any code processing untrusted expressions is at risk, which could lead to performance problems [1].

Affected products and versions

ProductAffected VersionFixed Version
symfony/expression-language≥ 7.2.0, < 7.4.247.4.24 [1]
symfony/expression-language≥ 8.0.0, < 8.1.128.1.12 [1]
symfony/symfony≥ 7.2.0, < 7.4.247.4.24 [1]
symfony/symfony≥ 8.0.0, < 8.1.128.1.12 [1]

Exploitation and threat intelligence status

The reviewed sources do not report exploitation. CVE-2026-134791 is not listed in the CISA KEV catalog as of 2026-11-26. The EPSS score for this CVE is 0.0089 (0.89%), with a percentile of 0.5726 [2, 3].

Detection and exposure assessment

To assess exposure, check if the installed version of Symfony falls within the affected range: ≥ 7.2.0, < 7.4.24 or ≥ 8.0.0, < 8.1.12 [1].

Remediation

The vulnerability is resolved in versions 7.4.24 and 8.1.12 of Symfony. Organizations should upgrade to these versions to resolve the issue [1].

Remediation checklist

  1. Update Symfony to version 7.4.24 or 8.1.12 [1].
  2. Verify that all installed versions of Symfony are within the fixed range [1].
  3. Monitor for any additional advisories or patches from the Symfony project [1].

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not provide a fixed version for this CVE.
  • The sources do not describe the attack lifecycle or scenarios.
  • The sources do not give indicators of compromise.

References

  1. CVE-2026-134791 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-134791. Accessed 2026-11-26. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-26. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-26. Exploitation and threat intelligence status
  3. EPSS score for CVE-2026-134791. FIRST, 2026-11-25. https://api.first.org/data/v1/epss?cve=CVE-2026-134791. Accessed 2026-11-26. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT. The lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn't help, since the validator runs both constraints. The lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.7 CVSS 4.0 base score from the CNA

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
no
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Affected and fixed versions

ProductAffected versionsFixed in
Symfony symfony/expression-language≥ 7.2.0, < 7.4.247.4.24
≥ 8.0.0, < 8.1.128.1.12
Symfony symfony/symfony≥ 7.2.0, < 7.4.247.4.24
≥ 8.0.0, < 8.1.128.1.12

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • Symfony symfony/expression-language
  • Symfony symfony/symfony

Frequently asked questions

What is CVE-2026-134791?

CVE-2026-134791 involves an inefficient algorithmic complexity issue in Symfony's expression language, with a CVSS 4.0 score of 8.7 HIGH. The vulnerability affects versions of Symfony from 7.2.0 up to 7.4.24 and 8.0.0 up to 8.1.12. The reviewed sources do not report exploitation. The main action is to update to the fixed versions. Weakness type: Inefficient Algorithmic Complexity (CWE-407).

How severe is CVE-2026-134791?

CVE-2026-134791 has a CVSS 4.0 base score of 8.7 (high), from the CNA. An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-134791 being exploited?

Not as far as is known: CVE-2026-134791 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.9% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-134791?

Symfony symfony/expression-language ≥ 7.2.0, < 7.4.24 (fixed in 7.4.24); Symfony symfony/expression-language ≥ 8.0.0, < 8.1.12 (fixed in 8.1.12); Symfony symfony/symfony ≥ 7.2.0, < 7.4.24 (fixed in 7.4.24); Symfony symfony/symfony ≥ 8.0.0, < 8.1.12 (fixed in 8.1.12).

How do I fix CVE-2026-134791?

Update Symfony to version 7.4.24 or 8.1.12. Verify that all installed versions of Symfony are within the fixed range. Monitor for any additional advisories or patches from the Symfony project.

Timeline & sources

References

Related vulnerabilities & news