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."
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.
Problem types
Product status
7.20.1
7.21beta2
Timeline
| 2025-09-25: | Advisory disclosed |
| 2025-09-25: | VulDB entry created |
| 2025-10-13: | VulDB entry last update |
Credits
a2ure (VulDB User)
References
github.com/a2ure123/libjson-unicode-buffer-overflow-poc
vuldb.com/?id.325818 (VDB-325818 | MikroTik RouterOS libjson.so print parse_json_element buffer overflow)
vuldb.com/?ctiid.325818 (VDB-325818 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.652387 (Submit #652387 | MikroTik RouterOS 7 Memory Corruption)
github.com/a2ure123/libjson-unicode-buffer-overflow-poc
github.com/a2ure123/libjson-unicode-buffer-overflow-poc