Home / Sensiolabs / Symfony / CVE-2013-1397
CVE-2013-1397: is it exploited, and which versions of Sensiolabs Symfony are affected and fixed?
CVE-2013-1397 is a code injection (remote code execution) vulnerability in Sensiolabs Symfony. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: symfony/symfony from 2.2.0-BETA1 before 2.2.0-BETA2, symfony/symfony from 2.0.0 before 2.0.22, symfony/symfony from 2.1.0 before 2.1.7 and 3 more (GitHub advisory GHSA-7w53-hfpw-rg3g). Fixed in 2.2.0-BETA2, 2.0.22 and 2.1.7 (GitHub advisory GHSA-7w53-hfpw-rg3g). Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:47 UTC.
What is CVE-2013-1397?
Symfony 2.0.x before 2.0.22, 2.1.x before 2.1.7, and 2.2.x remote attackers to execute arbitrary PHP code via a serialized PHP object to the (1) Yaml::parse or (2) Yaml\Parser::parse function, a different vulnerability than CVE-2013-1348.
From the CVE record by mitre, last updated August 6, 2024, 14:57 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | symfony/symfony | >= 2.2.0-BETA1, < 2.2.0-BETA2 | 2.2.0-BETA2 | GHSA-7w53-hfpw-rg3g |
| Packagist | symfony/symfony | >= 2.0.0, < 2.0.22 | 2.0.22 | GHSA-7w53-hfpw-rg3g |
| Packagist | symfony/symfony | >= 2.1.0, < 2.1.7 | 2.1.7 | GHSA-7w53-hfpw-rg3g |
| Packagist | symfony/yaml | >= 2.0.0, < 2.0.22 | 2.0.22 | GHSA-7w53-hfpw-rg3g |
| Packagist | symfony/yaml | >= 2.1.0, < 2.1.7 | 2.1.7 | GHSA-7w53-hfpw-rg3g |
| Packagist | symfony/yaml | >= 2.2.0-BETA1, < 2.2.0-BETA2 | 2.2.0-BETA2 | GHSA-7w53-hfpw-rg3g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 14, 2025. Summary: Symfony Arbitrary PHP code Execution.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sensiolabs | symfony | 2.0.0 | application |
| sensiolabs | symfony | 2.0.1 | application |
| sensiolabs | symfony | 2.0.2 | application |
| sensiolabs | symfony | 2.0.3 | application |
| sensiolabs | symfony | 2.0.4 | application |
| sensiolabs | symfony | 2.0.5 | application |
| sensiolabs | symfony | 2.0.6 | application |
| sensiolabs | symfony | 2.0.7 | application |
| sensiolabs | symfony | 2.0.8 | application |
| sensiolabs | symfony | 2.0.9 | application |
| sensiolabs | symfony | 2.0.10 | application |
| sensiolabs | symfony | 2.0.11 | application |
| sensiolabs | symfony | 2.0.12 | application |
| sensiolabs | symfony | 2.0.13 | application |
| sensiolabs | symfony | 2.0.14 | application |
| sensiolabs | symfony | 2.0.15 | application |
| sensiolabs | symfony | 2.0.16 | application |
| sensiolabs | symfony | 2.0.17 | application |
| sensiolabs | symfony | 2.0.18 | application |
| sensiolabs | symfony | 2.0.19 | application |
| sensiolabs | symfony | 2.0.20 | application |
| sensiolabs | symfony | 2.0.21 | application |
| sensiolabs | symfony | 2.1.0 | application |
| sensiolabs | symfony | 2.1.1 | application |
| sensiolabs | symfony | 2.1.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:51 UTC.
How severe is CVE-2013-1397?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-1397 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.62% probability of exploitation activity in the next 30 days, percentile 76.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- 51980 third-party-advisory, x_refsource_SECUNIA
- 57574 vdb-entry, x_refsource_BID
- http://symfony.com/blog/security-release-symfony-2-0-22-and-2-1-7-released x_refsource_CONFIRM
- symfony-php-objects-code-execution(81551) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- January 16, 2013
- Published
- June 2, 2014, 15:00 UTC
- CVE record updated
- August 6, 2024, 14:57 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:51 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Symfony?
- Nov 12, 2026CVE-2026-121619 sensiolabs symfony: authentication bypass by spoofing
- Nov 6, 2026CVE-2026-123824 sensiolabs symfony: XML external entity (XXE)
- Nov 6, 2026CVE-2026-122053 sensiolabs symfony: mass assignment
- Nov 6, 2026CVE-2026-118515 sensiolabs symfony: external Control of File Name or Path
- Nov 6, 2026CVE-2026-121623 sensiolabs symfony: external Control of File Name or Path
- Nov 6, 2026CVE-2026-123792 sensiolabs symfony: denial of service through slow algorithm
- Nov 6, 2026CVE-2026-123339 sensiolabs symfony: use of Less Trusted Source
- Nov 6, 2026CVE-2026-123746 sensiolabs symfony: authentication bypass through another path
Questions about CVE-2013-1397
Is CVE-2013-1397 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 1.62% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sensiolabs Symfony are affected by CVE-2013-1397?
symfony/symfony from 2.2.0-BETA1 before 2.2.0-BETA2, symfony/symfony from 2.0.0 before 2.0.22, symfony/symfony from 2.1.0 before 2.1.7, symfony/yaml from 2.0.0 before 2.0.22, symfony/yaml from 2.1.0 before 2.1.7 and symfony/yaml from 2.2.0-BETA1 before 2.2.0-BETA2, per the GitHub advisory GHSA-7w53-hfpw-rg3g. The tables above give every range the sources list.
Which version fixes CVE-2013-1397?
2.2.0-BETA2, 2.0.22 and 2.1.7, per the GitHub advisory GHSA-7w53-hfpw-rg3g. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-1397?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-1397?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.