| 标题 | Arendst Tasmota 15.3.0.3 Memory Corruption |
|---|
| 描述 | A buffer overflow vulnerability exists in Arendst Tasmota firmware
version x.x.x.x and prior in the file tasmota/tasmota_xdrv_driver/
xdrv_10_scripter.ino within the fetch_jpg() function (case 0).
The vulnerable code copies a server-controlled MJPEG boundary string
into a fixed-size 40-byte stack buffer (boundary[40]) using strcpy()
without any length validation:
strcpy(glob_script_mem.jpg_task.boundary, cp + 1);
An attacker who controls the MJPEG HTTP server that the Tasmota device
connects to via fetchjp() script command can send a Content-Type header
with a boundary string longer than 39 characters. This overflows the
boundary[40] buffer and corrupts adjacent heap memory including
WiFiClient vtable pointers, potentially leading to remote code execution
on ESP32-based devices.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8 Critical)
CVE-2026-38422
PoC: https://github.com/sermikr0/CVE-2026-38422 |
|---|
| 来源 | ⚠️ https://github.com/sermikr0/CVE-2026-38422 |
|---|
| 用户 | sermikro (UID 98509) |
|---|
| 提交 | 2026-05-25 12時25分 (4 月前) |
|---|
| 管理 | 2026-06-07 21時58分 (13 days later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 366173 [arendst Tasmota 直到 15.3.0.3 xdrv_10_scripter.ino fetch_jpg 内存损坏] |
|---|
| 积分 | 0 |
|---|