8.7high
MikroTik RouterOS libjson.so print parse_json_element buffer overflow
- Severity
- 8.7high CVSS:4.0 by VulDB
- Exploit likelihood
- 1.13% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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
| Product or package | Versions | Reported by |
|---|---|---|
| MikroTik RouterOS | 7 Not affected: 7.20.1, 7.21beta2 | CVE List |
All scores
| VulDB | 8.7high CVSS:4.0 | 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 |
| VulDB | 8.8high CVSS:3.1 | 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 |
| VulDB | 8.8high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C |
| VulDB | 9.0critical CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C/E:POC/RL:OF/RC:C |
Classification
What each source says
CVE List
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."
CVE List (de)
In MikroTik RouterOS 7 wurde eine Schwachstelle gefunden. Es betrifft die Funktion parse_json_element der Datei /rest/ip/address/print der Komponente libjson.so. Durch Beeinflussen mit unbekannten Daten kann eine buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff kann remote ausgeführt werden. Der Exploit ist öffentlich verfügbar und könnte genutzt werden. Ein Aktualisieren auf die Version 7.20.1 and 7.21beta2 vermag dieses Problem zu lösen. Ein Upgrade der betroffenen Komponente wird empfohlen.
NVD (es)
Una vulnerabilidad ha sido encontrada en MikroTik RouterOS 7. Esto afecta la función parse_json_element del archivo /rest/ip/address/print del componente libjson.so. La manipulación conduce a desbordamiento de búfer. El ataque es posible de ser llevado a cabo remotamente. El exploit ha sido divulgado al público y puede ser usado. La actualización a la versión 7.20.1 y 7.21beta2 mitiga este problema. Debería actualizar el componente afectado. El proveedor respondió: 'Nuestro sistema de seguimiento de errores informa que su problema ha sido solucionado. Esto significa que planeamos lanzar una actualización de RouterOS con esta solución. Asegúrese de actualizar a la próxima versión cuando salga.'
References
| https://vuldb.com/?id.325818 | technical-description, vdb-entry | |
| https://vuldb.com/?ctiid.325818 | permissions-required, signature | |
| https://vuldb.com/?submit.652387 | 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-10948 changed 2025-10-13 | CVE Terms of Use |
| NVD | CVE-2025-10948 changed 2026-10-11 | Public domain |