All vulnerabilities

Servers and applications

CVE-2026-89020

MikroTik RouterOS Stack Buffer Overflow via TFTP URL Path Leading to Privilege Escalation

Severity
High 8.7
Published
14 Sept 2026
Last changed
6 Nov 2026
Added to UpHeron
6 Nov 2026
Fixed in
6.49.21, 7.23.4, 7.24.2
Exploit chance
0.6% in the next 30 daysHigher than 47% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Stack-based buffer overflow (CWE-121)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

MikroTik RouterOS before 7.23.4 (long-term) and 7.24.2 (stable) contains a stack-based buffer overflow vulnerability in the mtget binary's TFTP RRQ builder function that allows authenticated users to crash the mtget worker process by supplying a URL path of 507 bytes or more to the /tool fetch command; the first write outside the 528-byte buffer occurs at 505 bytes. Attackers can trigger the overflow by issuing a fetch command with a crafted tftp:// URL path, which causes an unbounded rep movsb instruction to overwrite saved registers at a deterministic offset, crashing the process without requiring a reachable TFTP server or elevated privileges beyond read-only group membership. On older RouterOS versions, this overflow is not limited to crashing the process: the deterministic overwrite of saved registers is exploitable to achieve persistent privilege escalation on the device. On versions with intact exploit mitigations, the impact is limited to a crash of the mtget worker process.

From the CVE Program.

Affected software

SoftwareAffected versions
MikroTik RouterOSServers and applications · cna:mikrotik|routeros
  • From 6.0.0 before 6.49.21
  • From 7.0.0 before 7.23.4
  • From 7.24.0 before 7.24.2

About MikroTik RouterOS

proprietary router operating system based on Linux

From Wikidata, CC0 1.0.
Developer
MikroTikWikidata

Release lines

ReleaseLatestSecurity fixes
RouterOS 7.257.25.1Yes
RouterOS 7.247.24.6Ended 23 Oct 2026
RouterOS 7.23 (LT)LTS7.23.8Yes
RouterOS 7.227.22.3Ended 26 May 2026
RouterOS 7.21 (LT)LTS7.21.5Ended 26 May 2026
RouterOS 7.20 (LT)LTS7.20.8Ended 12 Jan 2026

From endoflife.date.

Vulnerabilities in MikroTik RouterOS

In our list
91
Published in the last 12 months
10
Critical, last 12 months
3
High, last 12 months
5
Known exploited
5
Search the list for MikroTik RouterOS

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-89020