Skip to main content

FRRouting CVE-2025-61102

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 / on-link position
  2. Exploit
    Send crafted Extended Link LSA with malformed Adj-SID TLV
  3. Execution
    Trigger NULL vty dereference in dump routine
  4. Impact
    Crash 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.

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

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 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.

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_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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Medium
popular open-source routing suite, common in data-center/Linux networking but not universal
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-61105 HIGH POC
7.5 Oct 27

A NULL pointer dereference in FRRouting's ospfd segment-routing code (ospf_ext.c) can crash the daemon when a crafted OS

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