CVE-2025-10948 Details
Description
A 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."
A critical buffer overflow vulnerability has been identified in MikroTik RouterOS 7. This issue arises in the libjson.so component, specifically within the JSON parsing function 'parse_json_element'. The vulnerability is triggered by malformed JSON input that includes incomplete Unicode escape sequences, leading to memory corruption. This flaw can be exploited remotely via HTTP POST requests to the '/rest/ip/address/print' endpoint, bypassing basic authentication. The vulnerability causes an infinite parsing loop, resulting in a denial-of-service condition and potential application crash. Furthermore, depending on the memory layout, this vulnerability could be leveraged for code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 25, 2025CISA-ADP
Assessed Sep 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/a2ure123/libjson-unicode-buffer-overflow-poc | CISA-ADP | ExploitTechnical Analysis |
| https://github.com/a2ure123/libjson-unicode-buffer-overflow-poc | [email protected] | ExploitTechnical Analysis |
| https://github.com/a2ure123/libjson-unicode-buffer-overflow-poc#technical-proof-of-concept | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/?ctiid.325818 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?id.325818 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.652387 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| MikroTik RouterOS | 7 |
CPE
Remediation
| |
| a2ure123 libjson.so | All versions |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 11, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 13, 2025 | CVE Modified | [email protected] |
| Oct 7, 2025 | CVE Modified | [email protected] |
| Oct 6, 2025 | CVE Modified | [email protected] |
| Sep 25, 2025 | CVE Modified | CISA-ADP |
| Sep 25, 2025 | New CVE Received | [email protected] |
Volerion