symfony/yaml: is it safe?

Short answer: Version 8.1.11 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Composer symfony/yaml has 7 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

7advisories
0critical
0on CISA KEV
0no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2013-1348Symphony Vulnerable to PHP Code Injection via YAML Parsinghigh0.0>=2.0.0 and <2.0.222.0.22
CVE-2013-1397Symfony Arbitrary PHP code Executionhigh0.0>=2.0.0 and <2.0.22 or >=2.1.0 and <2.1.7 or >=2.2.0-BETA1 and <2.2.0-BETA22.0.22, 2.1.7, 2.2.0-BETA2
CVE-2026-45304Symfony's YAML Parser Vulnerable to Exponential Memory Allocation via Recursive Collection-Alias Expansion ("Billion Laughs")low0.0<5.4.52 or >=6.0.0 and <6.4.40 or >=7.0.0 and <7.4.12 or >=8.0.0 and <8.0.12 or >=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.52 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.40 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.125.4.52, 6.4.40, 7.4.12, 8.0.12
CVE-2026-45305Symfony's YAML Parser has a ReDoS via Catastrophic Backtracking in Parser::cleanup() Regexlow0.0<5.4.52 or >=6.0.0 and <6.4.40 or >=7.0.0 and <7.4.12 or >=8.0.0 and <8.0.12 or >=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.52 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.40 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.125.4.52, 6.4.40, 7.4.12, 8.0.12
CVE-2026-123792Exponential and Quadratic Parse Times in the YAML Parser Let a Single Document Hold a Processunknown0.0>=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.56 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.50 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.23 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.115.4.56, 6.4.50, 7.4.23, 8.1.11
CVE-2026-45133Symfony hardened the parser when handling untrusted inputlow0.0<5.4.52 or >=6.0.0 and <6.4.40 or >=7.0.0 and <7.4.12 or >=8.0.0 and <8.0.12 or >=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.52 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.40 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.125.4.52, 6.4.40, 7.4.12, 8.0.12
CVE-2026-109413Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Processhigh0.0>=2.0.0 and <5.4.54 or >=6.0.0 and <6.4.45 or >=7.0.0 and <7.4.18 or >=8.0.0 and <8.1.6 or >=2.0.0 and <3.0.0 or >=3.0.0 and <4.0.0 or >=4.0.0 and <5.0.0 or >=5.0.0 and <5.1.0 or >=5.1.0 and <5.2.0 or >=5.2.0 and <5.3.0 or >=5.3.0 and <5.4.0 or >=5.4.0 and <5.4.54 or >=6.0.0 and <6.1.0 or >=6.1.0 and <6.2.0 or >=6.2.0 and <6.3.0 or >=6.3.0 and <6.4.0 or >=6.4.0 and <6.4.45 or >=7.0.0 and <7.1.0 or >=7.1.0 and <7.2.0 or >=7.2.0 and <7.3.0 or >=7.3.0 and <7.4.0 or >=7.4.0 and <7.4.18 or >=8.0.0 and <8.1.0 or >=8.1.0 and <8.1.65.4.54, 6.4.45, 7.4.18, 8.1.6

Quick answers

Is symfony/yaml safe to use?

Version 8.1.11 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is symfony/yaml being actively exploited?

None of its 7 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/symfony/yaml.svg)](https://phpwarden.io/packages/symfony/yaml)