Skip to main content

FRRouting CVE-2025-61105

HIGH
NULL Pointer Dereference (CWE-476)
2025-10-27 cve@mitre.org
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain OSPF adjacency or L2 segment access
  2. Exploit
    Send crafted Extended Link Opaque LSA
  3. Execution
    Trigger NULL deref in ospf_ext.c dump path
  4. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.9 MEDIUM

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
High
widely deployed open-source routing suite in data centers and Linux distros
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low
NVD CVE.org EPSS Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:frrouting:frrouting:*:*:*:*:*:*:*:*
CVE-2022-37032 CRITICAL POC
9.1 Sep 19

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

CVE-2022-37035 HIGH POC
8.1 Aug 02

An issue was discovered in bgpd in FRRouting (FRR) 8.3. Rated high severity (CVSS 8.1), this vulnerability is remotely e

CVE-2022-26129 HIGH POC
7.8 Mar 03

Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the subtlv length in the functio

CVE-2022-26128 HIGH POC
7.8 Mar 03

A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to a wrong check on the input packet length in the

CVE-2022-26127 HIGH POC
7.8 Mar 03

A buffer overflow vulnerability exists in FRRouting through 8.1.0 due to missing a check on the input packet length in t

CVE-2022-26126 HIGH POC
7.8 Mar 03

Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to the use of strdup with a non-zero-terminated bin

CVE-2022-26125 HIGH POC
7.8 Mar 03

Buffer overflow vulnerabilities exist in FRRouting through 8.1.0 due to wrong checks on the input packet length in isisd

CVE-2025-61102 HIGH POC
7.5 Oct 27

A NULL pointer dereference in FRRouting's ospfd daemon lets a crafted OSPF Extended Link (Segment Routing Adj-SID) TLV d

CVE-2025-61101 HIGH POC
7.5 Oct 27

A NULL pointer dereference in FRRouting's ospfd (v4.0 through v10.4.1) allows an unauthenticated adjacent OSPF speaker t

CVE-2025-61100 HIGH POC
7.5 Oct 27

Denial of service in FRRouting's ospfd affects releases v2.0 through v10.4.1: an attacker who already participates in th

CVE-2025-61099 HIGH POC
7.5 Oct 27

A crafted OSPF Link State Update carrying a malformed opaque/Extended Link TLV crashes the FRRouting ospfd daemon, givin

CVE-2023-38802 HIGH POC
7.5 Aug 29

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

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy