# CVE-2026-10065: Shibby Tomato stack buffer overflow in tomatodata.cgi

Source: https://junglewise.ai/threats/cve-2026-10065-shibby-tomato-stack-buffer-overflow-in-tomatodata-cgi  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-29. Updated: 2026-05-29  
License: CC BY 4.0 with a link back

CVE-2026-10065 · Severity: high · CVSS 8.8 · Published 2026-05-29

A security vulnerability exists in the Shibby Tomato firmware, which is used in various network routers. An attacker can exploit this flaw to crash the router or potentially take control of the device by sending a specially crafted response from a power supply (UPS) monitoring service. This product is no longer supported by the developer, and users are encouraged to migrate to newer alternatives like FreshTomato.

Technologies: [Shibby Tomato by Shibby](https://junglewise.ai/threats/technologies/tomato-by-shibby). Vendors: [Shibby](https://junglewise.ai/threats/vendors/shibby).

## Quick answers

**Is CVE-2026-10065 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-10065 being exploited in the wild.

**How severe is CVE-2026-10065?** High severity, with a CVSS score of 8.8, published 29 May 2026.

**Which products and versions are affected?** Shibby Tomato by Shibby 1.28.

**Is there a fix for CVE-2026-10065?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-10065 attacked?** It is attacked over the network, in device firmware.

**Am I affected by CVE-2026-10065?** Check whether you run Shibby Tomato by Shibby at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stack-based buffer overflow (CWE-121) exists in the get_ups_field function within tomatodata.cgi of Shibby Tomato firmware version 1.28. The vulnerability is triggered when the CGI component processes UPS (Uninterruptible Power Supply) information. Specifically, the function performs an unbounded byte-copy of the 'DATE' field into a fixed-size 256-byte stack buffer without verifying the length against the provided buffer size. An attacker who can control the response from a UPS server (e.g., via a man-in-the-middle or a malicious UPS host) can provide a 'DATE' field exceeding 256 bytes to overwrite stack memory. This can lead to process crashes or remote code execution. The project is end-of-life and has been superseded by FreshTomato.

## Affected products

- Shibby Tomato by Shibby 1.28

## Timeline

- 2026-05-02: disclosed: Initial vulnerability report by Fengyi Wang
- 2026-05-29: advisory: CVE published via VulDB/NVD

## References

- [https://gitee.com/Fengyi-Wang/CVE/issues/IJK7BC](https://gitee.com/Fengyi-Wang/CVE/issues/IJK7BC)
- [https://vuldb.com/submit/818144](https://vuldb.com/submit/818144)
- [https://vuldb.com/vuln/367151](https://vuldb.com/vuln/367151)
- [https://vuldb.com/vuln/367151/cti](https://vuldb.com/vuln/367151/cti)

## Related threats

- [Shibby Tomato stack overflow in apcupsd getupsvar](https://junglewise.ai/threats/cve-2026-15544-shibby-tomato-stack-overflow-in-apcupsd-getupsvar)
- [Shibby Tomato stack-based buffer overflow in ripd Zserv Handler](https://junglewise.ai/threats/cve-2026-10124-shibby-tomato-stack-based-buffer-overflow-in-ripd-zserv-handler)
- [Shibby Tomato miniupnpd Information Disclosure in SUBSCRIBE Call Handler](https://junglewise.ai/threats/cve-2026-10068-shibby-tomato-miniupnpd-information-disclosure-in-subscribe-call)
- [Shibby Tomato stack buffer overflow in tomatoups.cgi UPS Service](https://junglewise.ai/threats/cve-2026-10066-shibby-tomato-stack-buffer-overflow-in-tomatoups-cgi-ups-service)
