The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-10948

CVE-2025-10948: MikroTik RouterOS Buffer Overflow Flaw

CVE-2025-10948 is a buffer overflow vulnerability in MikroTik RouterOS 7 affecting the parse_json_element function. Attackers can exploit this remotely to compromise systems. This article covers technical details, affected versions, and mitigation.

Published: April 1, 2026

CVE-2025-10948 Overview

A buffer overflow vulnerability has been identified in MikroTik RouterOS 7 affecting the parse_json_element function within the libjson.so component. The vulnerability is triggered through the /rest/ip/address/print REST API endpoint, allowing remote attackers with low-level privileges to potentially achieve code execution or cause system instability through specially crafted JSON input.

Critical Impact

Remote attackers can exploit this buffer overflow vulnerability over the network to compromise MikroTik routers running vulnerable versions of RouterOS 7, potentially leading to complete device takeover, network infrastructure compromise, and lateral movement within affected environments.

Affected Products

  • MikroTik RouterOS 7 (versions prior to 7.20.1)
  • MikroTik RouterOS 7.21beta versions (prior to 7.21beta2)
  • Network devices running the affected libjson.so component

Discovery Timeline

  • September 25, 2025 - CVE-2025-10948 published to NVD
  • October 13, 2025 - Last updated in NVD database

Technical Details for CVE-2025-10948

Vulnerability Analysis

This vulnerability is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), a memory corruption flaw that occurs when the parse_json_element function in libjson.so fails to properly validate input boundaries. The vulnerability exists in the JSON parsing logic that processes REST API requests to the /rest/ip/address/print endpoint.

When a malformed or oversized JSON payload is submitted to the affected endpoint, the parser does not properly enforce buffer size limitations, allowing data to be written beyond allocated memory boundaries. This can result in memory corruption, which may lead to arbitrary code execution, denial of service, or disclosure of sensitive memory contents.

The attack can be executed remotely over the network and requires only low-level authentication, making it particularly dangerous for internet-exposed MikroTik devices.

Root Cause

The root cause of CVE-2025-10948 lies in insufficient bounds checking within the parse_json_element function of the libjson.so shared library. When processing JSON elements, the function fails to validate that incoming data fits within the allocated buffer space before writing, creating a classic buffer overflow condition. This implementation flaw allows attackers to supply malicious input that exceeds expected buffer sizes, corrupting adjacent memory regions.

Attack Vector

The attack is network-based and targets the REST API interface on MikroTik RouterOS 7 devices. An attacker with low-level access to the router's REST API can craft a malicious JSON request to the /rest/ip/address/print endpoint containing specially formatted data designed to trigger the buffer overflow. The exploit has been publicly disclosed, increasing the risk of exploitation in the wild.

The vulnerability manifests when malicious JSON input is processed by the parse_json_element function. Technical details and proof-of-concept information are available in the GitHub PoC Repository. Interested researchers can review the Technical Proof of Concept for detailed exploitation mechanics.

Detection Methods for CVE-2025-10948

Indicators of Compromise

  • Unusual or malformed REST API requests to /rest/ip/address/print endpoint containing oversized JSON payloads
  • Unexpected crashes or restarts of MikroTik RouterOS services related to JSON parsing
  • Anomalous memory consumption patterns on affected devices
  • Authentication attempts followed by suspicious REST API activity targeting address management functions

Detection Strategies

  • Monitor network traffic for unusually large or malformed JSON payloads targeting MikroTik REST API endpoints
  • Implement intrusion detection rules to flag requests to /rest/ip/address/print with anomalous payload sizes
  • Deploy application-layer firewall rules to inspect and filter malicious JSON content targeting RouterOS devices
  • Enable verbose logging on MikroTik devices to capture REST API access patterns and potential exploitation attempts

Monitoring Recommendations

  • Configure SIEM alerts for multiple failed or suspicious REST API requests from single source IPs
  • Establish baseline REST API usage patterns and alert on significant deviations
  • Monitor for service crashes or unexpected reboots on MikroTik devices that may indicate exploitation attempts
  • Review access logs for unauthorized or unexpected access to management interfaces

How to Mitigate CVE-2025-10948

Immediate Actions Required

  • Upgrade affected MikroTik RouterOS 7 devices to version 7.20.1 or 7.21beta2 immediately
  • Restrict REST API access to trusted management networks only using firewall rules
  • Implement strong authentication and limit REST API access to essential administrative accounts
  • Consider disabling the REST API interface temporarily if not required for operations

Patch Information

MikroTik has acknowledged this vulnerability and confirmed the issue has been fixed in their bug tracker. The vendor recommends upgrading to RouterOS version 7.20.1 or 7.21beta2 to remediate this vulnerability. Users should ensure they upgrade to these versions or any subsequent release that includes the fix. Additional information can be found in the VulDB entry.

Workarounds

  • Implement network segmentation to isolate router management interfaces from untrusted networks
  • Apply access control lists (ACLs) to restrict REST API access to specific authorized IP addresses
  • Deploy a web application firewall (WAF) or reverse proxy to filter and validate JSON requests before they reach the device
  • Monitor and rate-limit REST API requests to reduce exploitation window
bash
# MikroTik RouterOS - Restrict REST API access to trusted management subnet
/ip firewall filter
add chain=input src-address=192.168.1.0/24 dst-port=443 protocol=tcp action=accept comment="Allow REST API from management subnet"
add chain=input dst-port=443 protocol=tcp action=drop comment="Block REST API from all other sources"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechMikrotik Routeros

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.24%

  • Known ExploitedNo
  • 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/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-119
  • Technical References
  • GitHub PoC Repository

  • GitHub Technical PoC

  • VulDB #325818 (CTIID)

  • VulDB #325818

  • VulDB Submission #652387
  • Related CVEs
  • CVE-2023-30799: MikroTik RouterOS Privilege Escalation Flaw

  • CVE-2025-61481: MikroTik RouterOS/SwOS XSS Vulnerability

  • CVE-2024-54772: MikroTik RouterOS Information Disclosure

  • CVE-2020-11881: MikroTik RouterOS DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English