# CVE-2013-1397: Symfony Arbitrary PHP code Execution

Source: https://junglewise.ai/threats/cve-2013-1397-symfony-arbitrary-php-code-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2013-1397 · Severity: info · Published 2022-05-17

Symfony Arbitrary PHP code Execution

Technologies: [symfony/symfony (Packagist)](https://junglewise.ai/threats/technologies/symfony-symfony), [symfony/yaml (Packagist)](https://junglewise.ai/threats/technologies/symfony-yaml). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2013-1397 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-1397 being exploited in the wild.

**How severe is CVE-2013-1397?** Informational severity, published 17 May 2022.

**Which products and versions are affected?** symfony/symfony (Packagist) ECOSYSTEM:introduced=2.2.0-BETA1,fixed=2.2.0-BETA2; symfony/yaml (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.0.22.

**Is there a fix for CVE-2013-1397?** Yes. symfony/symfony (Packagist): upgrade to 2.2.0-BETA2 or later; symfony/yaml (Packagist): upgrade to 2.0.22 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-1397?** Check whether you run symfony/symfony (Packagist) or symfony/yaml (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- symfony/symfony (Packagist): upgrade to 2.2.0-BETA2 or later

  ```sh
  composer require symfony/symfony:^2.2.0-BETA2
  ```

- symfony/yaml (Packagist): upgrade to 2.0.22 or later

  ```sh
  composer require symfony/yaml:^2.0.22
  ```


## Affected products

- symfony/symfony (Packagist) ECOSYSTEM:introduced=2.2.0-BETA1,fixed=2.2.0-BETA2
- symfony/yaml (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.0.22

## Identifiers

- CVE-2013-1397
- GHSA-7w53-hfpw-rg3g

## Related threats

- [Symfony YAML stack exhaustion in inline lexer](https://junglewise.ai/threats/cve-2026-109413-in-symfony-yaml-prior-to-versions-5-4-54-6-4-45-7-4-18-and-8-1-6)
- [Symfony HTTP Foundation ReDoS in HeaderUtils::split()](https://junglewise.ai/threats/cve-2026-108082-symfony-is-a-php-framework-for-web-and-console-applications-and)
- [Symfony Routing improper dot-segment encoding in UrlGenerator](https://junglewise.ai/threats/cve-2026-48784-symfony-routing-improper-dot-segment-encoding-in-urlgenerator)
- [Symfony HtmlSanitizer XSS via incomplete URL attribute sanitization](https://junglewise.ai/threats/cve-2026-48761-symfony-htmlsanitizer-xss-via-incomplete-url-attribute)
- [Symfony HtmlSanitizer visual spoofing via percent-encoded BiDi characters](https://junglewise.ai/threats/cve-2026-48760-symfony-htmlsanitizer-visual-spoofing-via-percent-encoded-bidi)
