Vulnerability · Published Sep 25, 2025 · Assigned by VulDB
CVE-2025-10948MikroTik RouterOS libjson.so print parse_json_element buffer overflow
High 8.8
In plain English
A high-severity buffer overflow in RouterOS from MikroTik. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities).
Official 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."
Affected products (as reported)
Weakness: CWE-120, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
References
- VDB-325818 | MikroTik RouterOS libjson.so print parse_json_element buffer overflow vdb-entry, technical-description
- VDB-325818 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #652387 | MikroTik RouterOS 7 Memory Corruption third-party-advisory
- https://github.com/a2ure123/libjson-unicode-buffer-overflow-poc exploit
- https://github.com/a2ure123/libjson-unicode-buffer-overflow-poc#technical-proof-of-concept exploit