FRRouting
CVE-2025-61105
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain OSPF adjacency or L2 segment access
-
ExploitSend crafted Extended Link Opaque LSA
-
ExecutionTrigger NULL deref in ospf_ext.c dump path
-
ImpactCrash ospfd daemon causing 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 | Triggering requires delivering a crafted OSPF Extended Link Opaque LSA (ospf_ext.c implements OSPF segment-routing Extended Link/Prefix TLVs) with a malformed TLV/sub-TLV length that reaches the router's LSA parsing. The NULL pointer dereference occurs inside the display/dump helpers (show_vty_link_info and the sub-TLV printers such as show_vty_ext_link_adj_sid / rmt_itf_addr / unknown_tlv) when they are invoked with vty==NULL; the patch's own comments ('If vty is not available, dump info via zlog') indicate this path is the non-interactive logging/dump context rather than an operator CLI session - the exact trigger of the NULL-vty invocation is not described in the available sources and is inferred from the diff. Limiting factors: the attacker must be able to inject into the OSPF domain, which in practice means the same L2 segment or an established OSPF neighbor (OSPF authentication, if configured, would block injection); impact is confined to crashing ospfd (availability only), with no confidentiality or integrity effect. |
| Impact | This is a pure availability issue: the CVSS 7.5 is driven entirely by A:H with C:N/I:N, so the realistic worst case is a crash/restart of the ospfd daemon (routing disruption), not data compromise or code execution. The NVD vector AV:N/AC:L/PR:N/UI:N implies trivial remote unauthenticated triggering, but OSPF is a link-local routing protocol and the flaw is reached by processing a crafted OSPF Extended Link Opaque LSA - injecting such a packet realistically requires being on the same L2 segment or an established OSPF adjacency, so AV:A (adjacent) is more defensible than AV:N; this discrepancy should be verified rather than taken at face value. No EPSS score is present in the input and the CVE is not listed in CISA KEV, so there is no signal of widespread or active exploitation; exploitation status is limited to a public PoC reference that is not verified as working exploit code. The source diff also shows the dereference occurs in LSA dump/display helpers when they are called with a NULL vty, a path that appears tied to logging/debug invocation rather than normal forwarding, which may further lower real-world exploitability. Net: a legitimately patch-worthy DoS for networks exposing OSPF to untrusted segments, but the AV:N-implied 'remote from anywhere' reading likely overstates reach, and the this_week decision label (not act_now/emergency) is consistent with prompt-but-not-urgent remediation. |
| Exploit ScenarioDerived | An attacker positioned on the OSPF broadcast domain or holding an OSPF adjacency sends a crafted OSPF Extended Link Opaque LSA containing a malformed or oversized TLV. When ospfd parses and dumps the LSA through show_vty_link_info and its sub-TLV printers with a NULL vty pointer, it dereferences NULL and the ospfd daemon crashes, disrupting routing on the affected router. A public PoC reference exists (GitHub issue and a third-party write-up) 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 segment-routing code (ospf_ext.c) can crash the daemon when a crafted OSPF Extended Link Opaque LSA with a malformed TLV or sub-TLV length reaches an affected router, causing a routing disruption. All releases from v4.0 through v10.4.1 are reported affected; the flaw sits in the LSA display/dump helpers, which call vty_out() without checking whether the vty pointer is NULL, and the upstream patch confirms the failing path is the non-interactive logging/dump context rather than an operator CLI session. The trigger requires injecting the malicious LSA into the OSPF domain, so in practice the attacker must be on the same Layer 2 segment or hold an established OSPF adjacency (OSPF authentication, where configured, blocks injection); impact is limited to availability, with no confidentiality or integrity effect. A public PoC reference exists; it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation. Upstream fix code is available in the referenced pull request; a released patched version is not independently confirmed.
RemediationAI
Apply the upstream fix in FRRouting pull request 19480 (commit fdd957408605d4a1766225630aafc7e6b7c3daf3), which adds NULL checks around every vty_out() call in the ospf_ext.c TLV dump helpers and falls back to zlog_debug(); a released FRR version carrying this commit is not independently confirmed, so track the project's release notes and the issue at https://github.com/FRRouting/frr/issues/19471 before upgrading, and treat this as the primary remediation. Because the trigger is a crafted OSPF Extended Link Opaque LSA injected into the OSPF domain, compensating controls are to enable OSPF authentication (MD5 or SHA keyed authentication) on all adjacencies and interfaces so unauthenticated LSA injection is rejected, to restrict OSPF-enabled interfaces to trusted Layer 2 segments and apply ACL/filtering on OSPF protocol traffic at segment boundaries, and, where segment routing for OSPF is not in use, to keep the segment-routing extension disabled so the affected parsing paths are not exercised - noting that authentication does not repair the daemon itself and disabling the feature removes the routing capability it provides. Availability impact is a crash/restart of ospfd with routing disruption; no code execution or data compromise is indicated.
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 OSPFv2, and ospf_ext.c handles the OSPF Segment Routing extensions carried in Extended Link and Extended Prefix Opaque LSAs (link type, remote interface address, Adj-SID, LAN-Adj-SID and unknown TLVs). The root cause class is CWE-476, NULL pointer dereference: the TLV and sub-TLV printer helpers (show_vty_link_info, show_vty_ext_link_rmt_itf_addr, show_vty_ext_link_adj_sid, show_vty_ext_link_lan_adj_sid, show_vty_unknown_tlv) and the check_tlv_size macro unconditionally invoke vty_out(vty, ...) on a vty pointer that can be NULL when the same parsing/dump code is reached outside an interactive CLI session. The upstream patch converts every such call into a vty != NULL branch that uses vty_out() for CLI output and zlog_debug() otherwise, with the patch comment explicitly noting 'If vty is not available, dump info via zlog'. The version range in the CPE (cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*) covers v4.0 through v10.4.1 broadly, and the affected capability is present wherever segment-routing extensions for OSPF are processed; the exact sequence that invokes the helpers with a NULL vty is not described in the available sources and is inferred from the diff.
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 injection realistically needs L2 adjacency so AV:A not AV:N; no privileges on the target so PR:N; crash-only so C:N/I:N and 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_link_info 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 segment-routing daemon (ospfd), used from v4.0 through v10.4.1, can be crashed by a malformed routing LSA, causing a potentially organization-wide network disruption for any environment relying on FRR for OSPF routing. Because exploitation requires a presence on the same network segment or an established OSPF adjacency, the realistic threat is from an insider, a compromised segment, or an unauthenticated OSPF domain rather than a remote internet attacker. Leadership should care about the availability impact on network connectivity and the limited public exploit reference, not a confirmed active campaign.
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 daemon lets a crafted OSPF Extended Link (Segment Routing Adj-SID) TLV d
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