CVEfocus › CVE database › CVE-2026-109413

CVE-2026-109413Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the…

CVSS 8.7 HighEPSS 0.5% (higher than 36% of CVEs)Published 2026-10-15Updated 2026-10-15Assigner: Checkmarx

In Symfony YAML prior to versions 5.4.54, 6.4.45, 7.4.18, and 8.1.6, Yaml\Parser::lexInlineStructure() recursed through lexInlineMapping() and lexInlineSequence() for every { and [ of an inline collection, without entering the nesting level that the rest of the parser bounds with maxNestingLevel. A document made of deeply nested inline collections, such as [[[[...]]]], exhausted the stack while it was being lexed: depending on the PHP version and its stack settings, the process crashed or the request ended with a fatal error. Any code parsing untrusted YAML is affected. That includes #[MapRequestPayload] when the Yaml component is installed and the endpoint does not restrict acceptFormat: a single unauthenticated request with a YAML content type is enough. This issue affects symfony/yaml through v5.4.53, v6.0.0-BETA1 through v6.4.44, v7.0.0-BETA1 through v7.4.17, and v8.0.0-BETA1 through v8.1.5.

CWE-674

What to do

Fixed builds are available from Debian, Packagist: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
7Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10symfonyFix pendingUBUNTU-CVE-2026-109413
Ubuntu 26.04symfonyUnder investigationUBUNTU-CVE-2026-109413
Ubuntu 24.04symfonyFix pendingUBUNTU-CVE-2026-109413
Ubuntu 22.04symfonyFix pendingUBUNTU-CVE-2026-109413
Ubuntu 20.04symfonyFix pendingUBUNTU-CVE-2026-109413
Ubuntu 18.04symfonyFix pendingUBUNTU-CVE-2026-109413
Ubuntu 16.04symfonyFix pendingUBUNTU-CVE-2026-109413
Debian 14symfonyFixed7.4.18+dfsg-1DEBIAN-CVE-2026-109413
Debian 13symfonyFixed6.4.49+dfsg-0+deb13u1DEBIAN-CVE-2026-109413
Debian 12symfonyFix pendingDEBIAN-CVE-2026-109413
Packagist librarysymfony/symfonyFixed8.1.6GHSA-2v3c-qxhr-7vpv
Packagist librarysymfony/yamlFixed5.4.54GHSA-2v3c-qxhr-7vpv

What the vendor says

As published in the CVE record by Checkmarx, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.