p PatchFirst

CVE-2026-120221

CVE-2026-120221 · frr: bgpd double free of peer-group Site-of-Origin when dynamic neighbors disconnect

CVSS 8.2 · Alta · EPSS 0,4% · Corrección disponible

Compara con tu versión instalada

Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.

  • frroutingActualiza a 10.2.7 / 10.3.5 / 10.4.6 …
  • frr Debian 12Sin corrección publicada
  • frr Debian 13Sin corrección publicada
  • frr Debian 14Sin corrección publicada
  • y 8 más

Comprueba la versión instalada:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="frr"'

Evalúa los riesgos de tu servidor

La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.

La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.

curl -fsSL https://patchfirst.dev/check.sh | sh
Comprobar tu servidor gratis →

Los canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

In FRRouting, bgpd frees the same memory twice when dynamic BGP neighbors disconnect, if the peer-group used by a "bgp listen range" also has a Site-of-Origin configured ("neighbor PG soo"). Each dynamic neighbor shares the peer-group's SoO value instead of getting its own copy, but frees it as its own when the neighbor is deleted, which happens as soon as its connection closes. The first disconnect leaves the peer-group pointing at freed memory, and the second disconnect frees it again, causing bgpd to abort and drop all BGP sessions on the router. Any host whose address falls inside the listen range can trigger this by opening and closing two TCP connections to the BGP port, without sending any BGP message and without knowing the AS number, and can repeat it each time bgpd restarts. If the peer-group has a TCP-MD5 password, only hosts that know the password can trigger it. Two ordinary flaps of legitimate dynamic neighbors have the same effect. Between the two frees, displaying the configuration ("show running-config") or establishing a dynamic neighbor also reads the freed memory, which can crash bgpd after a single disconnect. Only configurations that combine a listen range with a SoO on the same peer-group are affected.

Publicación
Actualización

Correcciones en distribuciones

Pila tecnológica: system

Productos y versiones afectados

  • frrouting

    Versiones
    • ≥ 01da2d26911c72023e71579bf4feeb707087ef50: Afectada; ≥ 6a96f515760dc278147fbf802777956ba80c7edd: No afectada (git)
    • ≥ 8.4.0, < 10.2.7: Afectada (semver)
    • ≥ 10.3.0, < 10.3.5: Afectada (semver)
    • ≥ 10.4.0, < 10.4.6: Afectada (semver)
    • ≥ 10.5.0, < 10.5.6: Afectada (semver)
    • ≥ 10.6.0, < 10.6.3: Afectada (semver)
    Todas las versiones (7)
    • ≥ 10.7.0, < 10.7.2: Afectada (semver)

    Actualiza a 10.2.7; Actualiza a 10.3.5; Actualiza a 10.4.6; Actualiza a 10.5.6; Actualiza a 10.6.3; Actualiza a 10.7.2

  • frr Debian 12

    Versiones
    • 10.0-0.1
    • 10.0-0.2
    • 10.0-1
    • 10.0-2
    • 10.0.1-0.1
    • 10.1-0.1
    Todas las versiones (59)
    • 10.1-0.2
    • 10.1.1-0.1
    • 10.1.1-1
    • 10.1.1-2
    • 10.1.1-3
    • 10.2-1
    • 10.2-2
    • 10.2.1-1
    • 10.2.1-2
    • 10.2.1-3
    • 10.2.1-4
    • 10.2.1-5
    • 10.2.1-6
    • 10.3-1
    • 10.3-2
    • 10.3-3
    • 10.3-4
    • 10.3-5
    • 10.3.1-1
    • 10.3.1-2
    • 10.3.1-3
    • 10.3.1-4
    • 10.4.0-1
    • 10.4.1-1
    • 10.4.1-2
    • 10.4.1-3
    • 10.5.0-1
    • 10.5.0-2
    • 10.5.1-1
    • 10.5.1-2
    • 10.5.1-3
    • 10.5.2-1
    • 10.5.3-1
    • 10.6.0-1
    • 10.6.0-2
    • 10.6.1-1
    • 10.6.1-2
    • 10.6.1-3
    • 10.7.0-1
    • 10.7.0-2
    • 10.7.1-1
    • 10.7.1-2
    • 10.7.1-3
    • 10.7.1-4
    • 10.7.1-5
    • 10.7.1-6
    • 10.7.1-7
    • 8.4.2-1
    • 8.4.4-1
    • 8.4.4-1.1
    • 8.4.4-1.1~deb12u1
    • 8.4.4-1.1~deb12u2
    • 9.1-0.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • frr Debian 13

    Versiones
    • 10.3-3
    • 10.3-3+deb13u1
    • 10.3-4
    • 10.3-5
    • 10.3.1-1
    • 10.3.1-2
    Todas las versiones (33)
    • 10.3.1-3
    • 10.3.1-4
    • 10.4.0-1
    • 10.4.1-1
    • 10.4.1-2
    • 10.4.1-3
    • 10.5.0-1
    • 10.5.0-2
    • 10.5.1-1
    • 10.5.1-2
    • 10.5.1-3
    • 10.5.2-1
    • 10.5.3-1
    • 10.6.0-1
    • 10.6.0-2
    • 10.6.1-1
    • 10.6.1-2
    • 10.6.1-3
    • 10.7.0-1
    • 10.7.0-2
    • 10.7.1-1
    • 10.7.1-2
    • 10.7.1-3
    • 10.7.1-4
    • 10.7.1-5
    • 10.7.1-6
    • 10.7.1-7
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • frr Debian 14

    Versiones
    • 10.3-3
    • 10.3-4
    • 10.3-5
    • 10.3.1-1
    • 10.3.1-2
    • 10.3.1-3
    Todas las versiones (32)
    • 10.3.1-4
    • 10.4.0-1
    • 10.4.1-1
    • 10.4.1-2
    • 10.4.1-3
    • 10.5.0-1
    • 10.5.0-2
    • 10.5.1-1
    • 10.5.1-2
    • 10.5.1-3
    • 10.5.2-1
    • 10.5.3-1
    • 10.6.0-1
    • 10.6.0-2
    • 10.6.1-1
    • 10.6.1-2
    • 10.6.1-3
    • 10.7.0-1
    • 10.7.0-2
    • 10.7.1-1
    • 10.7.1-2
    • 10.7.1-3
    • 10.7.1-4
    • 10.7.1-5
    • 10.7.1-6
    • 10.7.1-7
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • quagga Ubuntu Pro 16.04 LTS

    Versiones
    • 0.99.24.1-2
    • 0.99.24.1-2ubuntu1
    • 0.99.24.1-2ubuntu1.1
    • 0.99.24.1-2ubuntu1.2
    • 0.99.24.1-2ubuntu1.3
    • 0.99.24.1-2ubuntu1.4
    Todas las versiones (7)
    • 0.99.24.1-2ubuntu1.4+esm1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • quagga Ubuntu Pro 18.04 LTS

    Versiones
    • 1.1.1-3
    • 1.1.1-3ubuntu1
    • 1.2.2-1
    • 1.2.2-1ubuntu1
    • 1.2.4-1
    • 1.2.4-1ubuntu0.1~esm1
    Todas las versiones (7)
    • 1.2.4-1ubuntu0.1~esm2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • quagga Ubuntu 20.04 LTS

    Versiones
    • 1.2.4-4build1
    • 1.2.4-4ubuntu0.1
    • 1.2.4-4ubuntu0.4
    • 1.2.4-4ubuntu0.5
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • frr Ubuntu Pro 20.04 LTS

    Versiones
    • 6.0.2-2build2
    • 7.2-1ubuntu1
    • 7.2-1ubuntu2
    • 7.2.1-1
    • 7.2.1-1ubuntu0.1
    • 7.2.1-1ubuntu0.2
    Todas las versiones (11)
    • 7.2.1-1ubuntu0.2+esm1
    • 7.2.1-1ubuntu0.2+esm2
    • 7.2.1-1ubuntu0.2+esm3
    • 7.2.1-1ubuntu0.2+esm4
    • 7.2.1-1ubuntu0.2+esm5
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • frr Ubuntu 22.04 LTS

    Versiones
    • 7.5.1-1.1
    • 8.1-1
    • 8.1-1ubuntu1
    • 8.1-1ubuntu1.1
    • 8.1-1ubuntu1.2
    • 8.1-1ubuntu1.3
    Todas las versiones (19)
    • 8.1-1ubuntu1.4
    • 8.1-1ubuntu1.5
    • 8.1-1ubuntu1.6
    • 8.1-1ubuntu1.7
    • 8.1-1ubuntu1.8
    • 8.1-1ubuntu1.9
    • 8.1-1ubuntu1.10
    • 8.1-1ubuntu1.11
    • 8.1-1ubuntu1.13
    • 8.1-1ubuntu1.14
    • 8.1-1ubuntu1.15
    • 8.1-1ubuntu1.16
    • 8.1-1ubuntu1.17
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • frr Ubuntu 24.04 LTS

    Versiones
    • 8.4.4-1.1ubuntu1
    • 8.4.4-1.1ubuntu3
    • 8.4.4-1.1ubuntu4
    • 8.4.4-1.1ubuntu5
    • 8.4.4-1.1ubuntu6
    • 8.4.4-1.1ubuntu6.1
    Todas las versiones (13)
    • 8.4.4-1.1ubuntu6.2
    • 8.4.4-1.1ubuntu6.3
    • 8.4.4-1.1ubuntu6.4
    • 8.4.4-1.1ubuntu6.5
    • 8.4.4-1.1ubuntu6.6
    • 8.4.4-1.1ubuntu6.7
    • 8.4.4-1.1ubuntu6.8
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • frr Ubuntu 26.10

    Versiones
    • 10.5.1-1ubuntu4
    • 10.5.1-1ubuntu5
    • 10.5.1-1ubuntu6
    • 10.7.0-2ubuntu1
    • 10.7.1-1ubuntu1
    • 10.7.1-3ubuntu1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • frr Ubuntu 26.04 LTS

    Versiones
    • 10.4.1-3ubuntu1
    • 10.4.1-3ubuntu2
    • 10.5.1-1ubuntu1
    • 10.5.1-1ubuntu2
    • 10.5.1-1ubuntu3
    • 10.5.1-1ubuntu4
    Todas las versiones (7)
    • 10.5.1-1ubuntu4.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →