CVE-2026-134791 — Symfony symfony/expression-language
One of 2 Symfony symfony/expression-language vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesResearch article
Symfony Expression Language Inefficient Algorithmic Complexity in CVE-2026-134791
| CVE | CVE-2026-134791 |
|---|---|
| Vendor and product | Symfony symfony/expression-language; Symfony symfony/symfony |
| Published | November 26, 2026 07:25 UTC |
| Research cut-off | November 26, 2026 06:55 UTC |
| Sources reviewed | 3: 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
| Field | Value |
|---|---|
| CVE ID | CVE-2026-134791 [1] |
| Vendor | Symfony [1] |
| Product | symfony/expression-language, symfony/symfony [1] |
| CWE | CWE-407 (Inefficient Algorithmic Complexity) [1] |
| CVSS 4.0 | 8.7 HIGH, scored by b5aa5c7f-767d-4597-9c64-3ac08b8711c6 (Secondary) [1] |
| Published | 2026-11-25T10:17:14 [1] |
| Last Modified | 2026-11-25T20:18:36 [1] |
| Record Status | Received [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
| Product | Affected Version | Fixed Version |
|---|---|---|
| symfony/expression-language | ≥ 7.2.0, < 7.4.24 | 7.4.24 [1] |
| symfony/expression-language | ≥ 8.0.0, < 8.1.12 | 8.1.12 [1] |
| symfony/symfony | ≥ 7.2.0, < 7.4.24 | 7.4.24 [1] |
| symfony/symfony | ≥ 8.0.0, < 8.1.12 | 8.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
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
- 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.
- 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.
- 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.
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.
Severity breakdown
High · 8.7
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
Weakness
- CWE-407: Inefficient Algorithmic Complexity
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Symfony symfony/expression-language | ≥ 7.2.0, < 7.4.24 | 7.4.24 |
| ≥ 8.0.0, < 8.1.12 | 8.1.12 | |
| Symfony symfony/symfony | ≥ 7.2.0, < 7.4.24 | 7.4.24 |
| ≥ 8.0.0, < 8.1.12 | 8.1.12 |
References by type
Vendor advisories
Patches and fixed releases
Other references
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
- TRENDnet TEW-751DR 1.03B01: Remote OS Command Injection in UPnP Event Handler (CVE-2026-138005)
- Hello Clever Gateway for WooCommerce (cleverpay-gateway) SQL Injection in Versions Through 1.8.4 (CVE-2026-136113)
- CVE-2026-134129 — smalot pdfparser
- CVE-2026-136112 — Amit Mittal Shipment Tracker for Woocommerce
- CVE-2026-137995 — fogproject