Reach frr · 3 builds in 2 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
Missing input validation in the MP_REACH_NLRI component of FRRouting (FRR) stable/10.0 to stable/10.6 allows authenticated attackers to cause a Denial of Service (DoS) via supplying a crafted UPDATE message.
Published 2026-05-04NVD
CVSS 3.1Network · low privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Fable 5.1 · medium confidence · 2026-11-05
The fix for this CVE ("bgpd: Validate MP_REACH_NLRI attribute against incorrect next-hop") was backported to FRR stable/10.5 and shipped in 10.5.4 (released 2026-04-20, before the CVE's 2026-05-04 publication); our tree is 10.5.5 (2026-08-25) and its bgp_mp_reach_parse() already contains the added next-hop validation (martian check on the IPv4 MP next-hop, with a comment explicitly citing security issues in MP_REACH_NLRI).
NVD's "stable/10.0 to stable/10.6" branch range does not account for the stable backport.
Independently of that, bgpd is not started in the factory-default image, confd hard-codes bgpd=no, and no YANG/CLI node can enable BGP, so even an unfixed build would have been NOT_EXPOSED.
Evidence 10
10.5.4 bgpd changes include 'Validate MP_REACH_NLRI attribute against incorrect next-hop' - the stable/10.5 backport of the CVE fix, released 2026-04-20
git show ed6171f92 (Infix commit 'Upgrade FRR to 10.5.4', release notes)
Fix present: ipv4_martian() check on mp_nexthop_global_in returning BGP_ATTR_PARSE_WITHDRAW, with comment 'to avoid potential security issues with martian addresses in MP_REACH_NLRI'
output/build/frr-10.5.5/bgpd/bgp_attr.c:2625-2633 (bgp_mp_reach_parse)
Length/next-hop-length/SNPA/NLRI bounds checks all in place in the configured source
output/build/frr-10.5.5/bgpd/bgp_attr.c:2571-2603, 2712-2733
10.5.5 released 2026-08-25, 10.5.4 on 2026-04-20; both after the upstream fix and the latter before CVE publication
output/build/frr-10.5.5/redhat/frr.spec.in:854-858
Six Infix patches applied; none touch bgpd/ (grep for bgpd in patches/frr/10.5.5 returns nothing), so the fixed upstream code is unmodified
output/build/frr-10.5.5/.applied_patches_list
BR2_PACKAGE_FRR=y; frr selected for target
output/.config:3213 / configs/x86_64_defconfig:69
bgpd is compiled and installed in the image (context only)
output/build/frr-10.5.5/config.log:10362 (BGPD_TRUE='') and output/target/usr/sbin/bgpd
bgpd.conf exists only under finit.d/available/; not enabled at boot
output/target/etc/finit.d/enabled/ (zebra.conf, staticd.conf, mgmtd.conf only) and package/skeleton-init-finit/skeleton-init-finit.mk:88-103
confd always writes bgpd=no to /etc/frr/daemons; no configuration path enables bgpd
src/confd/src/routing.c:580-612 (frr_daemons_write)
Only ospfv2, ospfv3, ripv2, ripng, bfdv1, static are allowed control-plane-protocol types; no BGP identity
src/confd/yang/confd/infix-routing.yang:193-236 (identity infix-routing-type)
Version and patches
CVE affects FRR stable/10.0 through stable/10.6 prior to the fix; the upstream fix (commit 8102a8ae, "Validate MP_REACH_NLRI attribute against incorrect next-hop") was backported to stable/10.5 and shipped in 10.5.4 (2026-04-20). This build is 10.5.5 (2026-08-25) and contains the fixed bgp_mp_reach_parse(). Infix patches 0001-0006 do not touch bgpd. NVD's CPE range (10.5.5 affected) does not reflect the stable backport.
Recommendation
Document as N/A (fix already present in 10.5.5 via stable/10.5 backport in 10.5.4). No upgrade or backport needed. Optionally add a BR2 IGNORE_CVES / SBOM annotation for CVE-2026-37458 noting the fixed-in version. Secondary: bgpd is not runnable via the product's management interfaces anyway.
Open questions
The upstream commit 8102a8ae could not be fetched (no network access), so the mapping between the CVE's fix commit and the 10.5.4 release-note item "Validate MP_REACH_NLRI attribute against incorrect next-hop" / the martian next-hop hunk at bgp_attr.c:2625-2633 is inferred from the release notes title, the code comment, and the release timeline rather than a direct hash-to-diff comparison. If a reviewer can confirm the commit's diff, confidence rises to high.
Members of Kernel Kit decide. Sign in if you are one.