CVE-2025-10948
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA vulnerability has been found in MikroTik RouterOS 7. This affects the function parse_json_element of the file /rest/ip/address/print of the component libjson.so. The manipulation leads to buffer overflow. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 7.20.1 and 7.21beta2 mitigates this issue. You should upgrade the affected component. The vendor replied: "Our bug tracker reports that your issue has been fixed. This means that we plan to release a RouterOS update with this fix. Make sure to upgrade to the next release when it comes out."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceBuffer overflow vulnerability in the parse_json_element function within libjson.so of MikroTik RouterOS 7, affecting the /rest/ip/address/print REST API endpoint. The flaw allows remote attackers to overflow a buffer via crafted JSON input, achieving high severity (CVSS 8.8) with publicly available exploit code.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the RouterOS versionLog into the router via CLI (terminal) or WinBox/WebFig, then run '/system/resource/print' to view the 'version' field, or check '/system/package/print' for the routeros package versionAffected if The installed version is RouterOS 7.x and is earlier than 7.20.1 stable or 7.21beta2 (if beta channels are used)
-
Verify if REST API service is enabledIn the CLI, run '/ip service print' to list all IP services. Look for the 'rest' service entry and check if it is marked as 'enabled' (the 'disabled' column shows 'no')Affected if The REST API service is enabled (disabled=no)
-
Confirm REST API network accessibilityIn the CLI, run '/ip service print detail' to see the 'address' and 'port' columns for the rest service. Check the 'address' field - if it shows '0.0.0.0/0' or a broad range, the REST API is internet-facing. Run '/ip firewall filter print' to verify no firewall rule blocks inbound traffic to the REST API port (typically 443 or 4433)Affected if The REST API is accessible from untrusted networks (address field shows 0.0.0.0/0 or broad ranges without adequate firewall protection)
-
Check if the vulnerable endpoint is exposedIf the REST API is enabled and accessible, verify that the endpoint '/rest/ip/address/print' can be reached. From an external host, attempt a minimal HTTP/HTTPS request to https://<router-ip>/rest/ip/address/print using a tool like curl (note: this requires valid REST API authentication tokens)Affected if The REST API is exposed and reachable from untrusted networks, allowing potential attackers to send crafted JSON payloads to the /rest/ip/address/print endpoint
A user is affected if they are running MikroTik RouterOS 7.x versions before 7.20.1 (or 7.21beta2) with the REST API service enabled and accessible from untrusted networks.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade RouterOS to version 7.20.1 (stable) or 7.21beta2 (beta) to patch the buffer overflow in libjson.so. Until upgrade is possible, restrict REST API access to trusted internal networks or disable the REST API if not needed.
RouterOS 7.20.1 (stable) or later
- 1. Backup the current RouterOS configuration using the /export command or through WinBox/WebFig
- 2. Download RouterOS 7.20.1 (stable) or later from the MikroTik download page (https://mikrotik.com/download)
- 3. Upload the .npk upgrade file to the router via Files menu in WinBox, WebFig, or FTP
- 4. Reboot the router using the /system reboot command
- 5. After reboot, verify the upgrade was successful by checking /system resource print to confirm the new version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-10948 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-10948 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data