| Title | Tomato by Shibby Tomato Firmware 1.28 Stack-based Buffer Overflow |
|---|
| Description | usr/sbin/ripd receives zebra routing updates over the local Unix domain socket /tmp/.zserv. In the rip_zebra_read_ipv4 receive path, the daemon reads an attacker-controlled one-byte prefix length, computes ((plen + 7) >> 3), and uses that value as the byte count for a stack copy into a region that has only about 8 safe bytes before saved registers begin.
Because the implementation does not clamp IPv4 prefix length to <= 32 and does not validate the derived byte count against the actual local destination size, a crafted zserv frame can overwrite saved registers and the saved return address. |
|---|
| Source | ⚠️ https://gitee.com/Fengyi-Wang/CVE/issues/IJ9FFG |
|---|
| User | Anonymous User |
|---|
| Submission | 05/02/2026 18:44 (2 months ago) |
|---|
| Moderation | 05/29/2026 19:21 (27 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 367301 [Shibby Tomato up to 1.28 Zserv /usr/sbin/ripd rip_zebra_read_ipv4 stack-based overflow] |
|---|
| Points | 20 |
|---|