llamaCVEVulnerability Intelligence
/
Symfony YAML

CVE-2026-123792

Symfony YAML denial of service in document parser

A remote, unauthenticated attacker can send a crafted document that stalls a server process for seconds or minutes.

Default setupsParche disponibledenial of service
Descargar PNG JSON
CVSS 4.0
8.7
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versiones5.4.56 · 6.4.50 · 7.4.23 · 8.1.11
Exposición13 dDesde la divulgación, 6 nov 2026, 10:19 a. m.
Detección6 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
6 nov 26
10 nov 26
16 nov 26
20 nov 26
6 nov 26
10 nov 26
13 nov 26
16 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-123792 divulgada · CVSS 8.7 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 6 nov 2026

A flaw in the Symfony Yaml component lets a small, specially crafted YAML document tie up a PHP process for seconds or minutes, causing a denial of service. It can be reached remotely, without logging in, and no exploit code is publicly available.

Affects Symfony Yaml parsing of untrusted input before 5.4.56, 6.0 to before 6.4.50, 7.0 to before 7.4.23, and 8.0 to before 8.1.11. Fixed in those releases.

¿Qué significa?A small crafted YAML document can take seconds or minutes of PHP processing time. This keeps a PHP worker busy until max_execution_time, which causes a denial of service.
¿Quién está afectado?Code that parses untrusted YAML with the Yaml component using default flags is affected. On 7.4 and later, #[MapRequestPayload] is affected when the Yaml component is installed and the endpoint does not restrict acceptFormat. On 6.4, #[MapRequestPayload] accepts YAML only when the application registers a yaml request format. Check the installed Symfony version and whether the Yaml component is installed, for example with composer show.
¿Qué hacer?Upgrade to the patched release for your branch: 5.4.56, 6.4.50, 7.4.23, or 8.1.11.
Descripción original del registro (Checkmarx)

The Symfony Yaml components Inline and Parser, parse some YAML documents inefficiently, so that a small crafted document can take disproportionately long to process, keeping a PHP process busy for seconds or minutes, potentially causing a denial of service in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. The parser repeats work it has already done in several places. An embedded mapping in a flow sequence is parsed again for every scalar appended to it, and so are the collections nested in it, so the parse time grows exponentially with the nesting depth. The patterns matching mapping keys and tags scan a run of spaces once per character of the run, and each scalar of a flow collection is matched against a copy of the rest of the collection, so the parse time grows quadratically with the size of the input. Nested blocks are also copied at each nesting level, which consumes memory as well as time. A few other constructs, such as an empty sequence item followed by a blank line or an anchor named 0, trigger similar repeated work. Any code parsing untrusted YAML is affected, with the default flags. In Symfony 7.4 and later, 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 keeps a PHP worker busy until max_execution_time. JSON documents are valid YAML, so a JSON payload sent with a YAML content type is enough for the flow collection case. In Symfony 6.4, #[MapRequestPayload] accepts YAML only when the application registers a yaml request format.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Code parses untrusted YAML with the Yaml component (default flags).“Any code parsing untrusted YAML is affected, with the default flags.”
02
In Symfony 7.4 and later, #[MapRequestPayload] with the Yaml component installed is affected when the endpoint does not restrict acceptFormat.“On 7.4 and later, that includes #[MapRequestPayload] when the Yaml component is installed and the endpoint does not restrict acceptFormat”
03
In Symfony 6.4, #[MapRequestPayload] accepts YAML only when the application registers a yaml request format.“On 6.4, #[MapRequestPayload] accepts YAML only when the application registers a yaml request format.”
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:N
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
symfony/yaml< 5.4.56
symfony/yaml≥ 6.0.0 < 6.4.50
symfony/yaml≥ 7.0.0 < 7.4.23
symfony/yaml≥ 8.0.0 < 8.1.11
5.4.56
6.0.0
6.4.50
7.0.0
7.4.23
8.0.0
8.1.11
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
symfony/yaml
Corregida 5.4.56, 6.4.50, 7.4.23, 8.1.11 — —
Versiones corregidas5.4.566.4.507.4.238.1.11
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALCheckmarx
Referencias
Fabricantehttps://github.com/symfony/symfony/security/advisories/GHSA-hwfg-qwvh-2wfx
Parchehttps://github.com/symfony/symfony/commit/487f63bf2cacebc8ed8273c5c10d92955acd2402
Parchehttps://github.com/symfony/symfony/commit/08db22d52e5d3e6ec2f5c50db30a4d818100ffb9
Parchehttps://github.com/symfony/symfony/commit/49e03035eda3000e978a4612db74900013255ccd

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.