FRRouting
CVE-2025-61102
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain OSPF adjacency / on-link position
-
ExploitSend crafted Extended Link LSA with malformed Adj-SID TLV
-
ExecutionTrigger NULL vty dereference in dump routine
-
ImpactCrash ospfd daemon (routing DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Affects FRRouting v4.0 through v10.4.1 running the ospfd daemon with OSPF Extended Link / Segment Routing (Adj-SID) TLV processing. The crash is a NULL dereference of the vty pointer inside the show/dump routines (show_vty_ext_link_adj_sid and related functions in ospf_ext.c); the vendor fix confirms these functions could be invoked with vty==NULL while handling a crafted Extended Link TLV whose length is wrong. Limiting factors: no authentication is required per the CVSS vector (PR:N), but because OSPF uses link-local multicast rather than routable traffic, the attacker must be able to inject OSPF packets into the domain - i.e., occupy an adjacent/on-link position or an OSPF-neighbor relationship - and any configured OSPF cryptographic authentication would further gate packet acceptance. Impact is confined to availability (daemon crash / routing DoS); no confidentiality or integrity effect. |
| Impact | The CVSS 3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) frames this as a network, no-auth, low-complexity availability flaw, but the signals need tempering. The impact is availability-only (C:N/I:N) - a NULL pointer dereference crashing the ospfd daemon, confirmed by the vendor fix which wraps the vulnerable vty_out() calls in vty!=NULL guards. No EPSS score and no KEV listing were supplied, so there is no evidence of active or widespread exploitation; a public PoC reference exists but is not verified as working exploit code. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patch-promptly rather than drop-everything posture. One important caveat: CVSS encodes AV:N, yet OSPF is a link-local protocol (packets are exchanged with adjacent routers, not routed across the internet), so realistic exploitation requires an on-link/adjacent position or an established OSPF relationship - the practical attack surface is narrower than AV:N alone suggests. Net: a genuine but moderate priority - a routing-plane DoS reachable by an adjacent attacker, worth patching this week, not an emergency given availability-only impact and no confirmed exploitation. |
| Exploit ScenarioDerived | An attacker positioned within the OSPF routing domain (an adjacent/on-link neighbor) sends a crafted OSPF packet carrying a malformed Extended Link TLV/Adj-SID sub-TLV. When FRR's ospfd processes and dumps this TLV through show_vty_ext_link_adj_sid() with a NULL vty pointer, it dereferences NULL and the daemon crashes, dropping routing adjacencies. A public PoC reference exists (the GitHub issue and a third-party writeup), but it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
A NULL pointer dereference in FRRouting's ospfd daemon lets a crafted OSPF Extended Link (Segment Routing Adj-SID) TLV drive the show/dump routines in ospf_ext.c to call vty_out() with a NULL vty pointer, terminating the routing process. All FRRouting releases from v4.0 through v10.4.1 that run ospfd and process these TLVs are affected; per the assessed vector the attacker needs no credentials (PR:N), but OSPF control traffic is link-local, so the practical prerequisite is an adjacent/on-link position or an established OSPF neighbor relationship, and configured OSPF cryptographic authentication further gates packet acceptance. Impact is availability only (daemon crash and routing disruption), scoring 7.5 under the vendor/NVD AV:N vector while our assessment tempers that to AV:A; there is no KEV listing and a public PoC reference exists but is not verified as working exploit code, with the vendor fix published as an upstream PR/commit.
RemediationAI
Apply the upstream fix from FRRouting PR #19480 (commit fdd957408605d4a1766225630aafc7e6b7c3daf3), which guards every vty_out() call in ospf_ext.c with a NULL check and falls back to zlog_debug(); because the data does not name a tagged release containing the commit, verify with the FRRouting project or your distribution's package maintainer which build includes it before treating an upgrade as complete. Because the affected path requires the attacker to source OSPF packets on-link, enabling OSPF cryptographic authentication (MD5 or HMAC-SHA keyed interfaces) blocks unauthenticated injection, at the cost of key distribution and neighbor re-adjacency during rollout; on segments where an OSPF neighbor relationship or on-link injection is not required, restricting adjacency to explicitly trusted interfaces and making edge-facing links passive removes the exposure while reducing routing topology on those links. Where Segment Routing / OSPF Extended Link TLVs are not in use, disabling those extensions prevents the parsing code from being reached at all, acknowledging that SR-based traffic engineering functionality is lost. Until a confirmed patched build is deployed, monitor ospfd processes for unexpected restarts and watch logs for the TLV size / abort messages that precede the crash.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FRRouting's ospfd implements OSPF Traffic Engineering and Segment Routing extensions, parsing Type-Length-Value structures such as the Extended Link TLV and its Adj-SID, LAN-Adj-SID and Remote Interface Address sub-TLVs in ospfd/ospf_ext.c. This is CWE-476 (NULL Pointer Dereference): the pretty-print helpers used to dump these TLVs (show_vty_ext_link_adj_sid, show_vty_ext_link_lan_adj_sid, show_vty_ext_link_rmt_itf_addr, show_vty_unknown_tlv, show_vty_link_info) and the check_tlv_size macro wrote diagnostics through vty_out(vty, ...) without ever testing whether vty was NULL. The upstream diff for PR #19480 shows the fix is purely a guard: each vty_out() call is now wrapped in an if (vty != NULL) test with a zlog_debug() fallback, confirming the crash occurs when these dump routines execute without an attached CLI session - that is, on the packet-processing path rather than from an operator command. The malformed condition being handled is a TLV whose header length does not match the expected size (the check_tlv_size abort branch), meaning a crafted OSPF packet carrying a wrong-length Extended Link / Adj-SID TLV reaches the vty_out() call with vty unset. Beyond that wrong-length TLV condition, the sources do not describe the finer details of how the packet must be constructed or which specific field offsets must be malformed.
Know when Frrouting gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSPF is link-local, so AV:A not AV:N; no per-packet auth required by default so PR:N; impact is a daemon crash only, hence C:N/I:N/A:H.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
FRRouting/frr from v4.0 through v10.4.1 was discovered to contain a NULL pointer dereference via the show_vty_ext_link_adj_sid function at ospf_ext.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted OSPF packet.
Executive ViewAI
FRRouting's OSPF daemon (ospfd) contains a denial-of-service vulnerability (CVE-2025-61102) that can crash the routing process when it processes a specially crafted OSPF Extended Link TLV. An attacker with an adjacent network position or an established OSPF neighbor relationship could exploit this to disrupt routing, affecting network availability for dependent systems and services. Although no active exploitation has been confirmed and a patch is available, the broad deployment of FRRouting in routing infrastructure warrants prompt remediation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
An out-of-bounds read in the BGP daemon of FRRouting FRR before 8.4 may lead to a segmentation fault and denial of servi
An issue was discovered in bgpd in FRRouting (FRR) 8.3. Rated high severity (CVSS 8.1), this vulnerability is remotely e
Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the subtlv length in the functio
A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to a wrong check on the input packet length in the
A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to missing a check on the input packet length in t
Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to the use of strdup with a non-zero-terminated bin
Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the input packet length in isisd
A NULL pointer dereference in FRRouting's ospfd segment-routing code (ospf_ext.c) can crash the daemon when a crafted OS
A NULL pointer dereference in FRRouting's ospfd (v4.0 through v10.4.1) allows an unauthenticated adjacent OSPF speaker t
Denial of service in FRRouting's ospfd affects releases v2.0 through v10.4.1: an attacker who already participates in th
A crafted OSPF Link State Update carrying a malformed opaque/Extended Link TLV crashes the FRRouting ospfd daemon, givin
FRRouting FRR 7.5.1 through 9.0 and Pica8 PICOS 4.3.3.2 allow a remote attacker to cause a denial of service via a craft
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB