CVE-2019-11325
CRITICAL 9.8CVSS 3.1Improper Input Validation in Symfony
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. The VarExport component incorrectly escapes strings, allowing some specially crafted ones to escalate to execution of arbitrary PHP code. This is related to symfony/var-exporter.
- Published
- 21 Nov 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-116
- Also known as
- GHSA-w4rc-rx25-8m86
- Sources
- NVDJSONOSV GHSA-w4rc-rx25-8m86JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.12 | 4.2.12 |
| NVD | sensiolabs | symfonycpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* |
>= 4.3.0, < 4.3.8 | 4.3.8 |
| OSV | Packagist | symfony/symfony | >= 4.2.0, < 4.2.12 | 4.2.12 |
| OSV | Packagist | symfony/symfony | >= 4.3.0, < 4.3.8 | 4.3.8 |
| OSV | Packagist | symfony/var-exporter | >= 4.2.0, < 4.2.12 | 4.2.12 |
| OSV | Packagist | symfony/var-exporter | >= 4.3.0, < 4.3.8 | 4.3.8 |
References
- https://github.com/symfony/symfony/releases/tag/v4.3.8 · Release Notes, Third Party Advisory, WEB
- https://github.com/symfony/var-exporter/compare/d8bf442...57e00f3 · Patch, Third Party Advisory, WEB
- https://symfony.com/blog/cve-2019-11325-fix-escaping-of-strings-in-varexporter · Vendor Advisory, WEB
- https://symfony.com/blog/symfony-4-3-8-released · Release Notes, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-11325 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-11325.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/var-exporter/CVE-2019-11325.yaml · WEB
- https://symfony.com/cve-2019-11325 · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 21 Nov 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Feb 2020)