Submit #818239: Tomato by Shibby Tomato Firmware 1.28 Stack-based Buffer Overflowinfo

TitleTomato by Shibby Tomato Firmware 1.28 Stack-based Buffer Overflow
Descriptionusr/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
Submission05/02/2026 18:44 (2 months ago)
Moderation05/29/2026 19:21 (27 days later)
StatusAccepted
VulDB entry367301 [Shibby Tomato up to 1.28 Zserv /usr/sbin/ripd rip_zebra_read_ipv4 stack-based overflow]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!