Symfony: JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.3.0-BETA1 until 7.4.12 and 8.0.12, the JsonPath component compiles attacker-controlled match() and search() filter patterns directly into preg_match() without a length cap, i-regexp restriction, or bounded backtracking, allowing catastrophic-backtracking expressions to pin worker CPU and cause denial of service. This issue is fixed in versions 7.4.12 and 8.0.12.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-45756
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 23:05 UTC · Revision 1
Source evidence
Symfony: JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS
core-osv · Original sourcePublished 14 Jul 2026, 17:57 UTC
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.3.0-BETA1 until 7.4.12 and 8.0.12, the JsonPath component compiles attacker-controlled match() and search() filter patterns directly into preg_match() without a length cap, i-regexp restriction, or bounded backtracking, allowing catastrophic-backtracking expressions to pin worker CPU and cause denial of service. This issue is fixed in versions 7.4.12 and 8.0.12.
osv:CVE-2026-45756
Complete source record
{
"id": "a8a26efb721b975cb185d8ddfe44c0bb2258d8837df24119558f1e340edf4aaa",
"url": "https://osv.dev/vulnerability/CVE-2026-45756",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Symfony: JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS",
"summary": "Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.3.0-BETA1 until 7.4.12 and 8.0.12, the JsonPath component compiles attacker-controlled match() and search() filter patterns directly into preg_match() without a length cap, i-regexp restriction, or bounded backtracking, allowing catastrophic-backtracking expressions to pin worker CPU and cause denial of service. This issue is fixed in versions 7.4.12 and 8.0.12.",
"evidence": "osv:CVE-2026-45756",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-45756",
"aliases": [
"CVE-2026-45756",
"GHSA-8v8v-g73j-492j"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/symfony/security-http",
"type": "GIT",
"events": [
{
"introduced": "8658634cc002096210c6227ec87a300dc647f88f"
},
{
"fixed": "1fc7ca636cbd2cad29b42cc13c9fd0c681c6efee"
},
{
"introduced": "bea6dc79db4d95c34b77ec27273d812aa64d65be"
},
{
"fixed": "d776945b2dc41c0e609c56c1ef69863ab56856ed"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.3.0"
},
{
"fixed": "7.4.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.12"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/symfony/symfony",
"type": "GIT",
"events": [
{
"introduced": "5babe8da13d379288ec141f9b5e325a1a6c39611"
},
{
"fixed": "275f5cbccbcc50205206f05e599c4f57009aadb8"
},
{
"introduced": "2e913a829cfbbf9cb38b321bdff1806b44b192eb"
},
{
"fixed": "06d3b2c9a8aeb5d8493738cc51e24f6a1215827c"
},
{
"fixed": "1ac2d47418ec23066112db1e6ca35be6fe123d14"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.3.0"
},
{
"fixed": "7.4.12"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.12"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1ac2d47418ec23066112db1e6ca35be6fe123d14"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "275f5cbccbcc50205206f05e599c4f57009aadb8"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v7.4.12"
},
{
"range": [
{
"fixed": "06d3b2c9a8aeb5d8493738cc51e24f6a1215827c"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v8.0.12"
}
]
}
}
],
"versions": [
"v8.0.11",
"v7.4.11",
"v7.4.0-BETA1",
"v8.0.9",
"v7.4.9",
"v8.0.8",
"v7.4.8",
"v8.0.6",
"v7.4.6",
"v8.0.4",
"v7.4.4",
"v8.0.3",
"v7.4.3",
"v8.0.1",
"v7.4.1",
"v7.4.0",
"v8.0.0",
"v7.4.0-RC2",
"v7.4.0-RC1",
"v7.3.0",
"v8.0.10",
"v8.0.7",
"v8.0.5",
"v8.0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45756.json"
}
}
],
"modified": "2026-10-28T02:30:32.070361471Z",
"provider": "osv",
"references": [
"https://github.com/symfony/symfony/releases/tag/v7.4.12",
"https://github.com/symfony/symfony/releases/tag/v8.0.12",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45756.json",
"https://github.com/symfony/symfony/security/advisories/GHSA-8v8v-g73j-492j",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45756",
"https://github.com/symfony/symfony/commit/1ac2d47418ec23066112db1e6ca35be6fe123d14"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1333",
"CWE-400"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45756.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45756",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499207,
"published_at": "2026-07-14T17:57:03.811+00:00"
}