| Título | Arendst Tasmota 15.3.0.3 Memory Corruption |
|---|
| Descrição | A buffer overflow vulnerability exists in Arendst Tasmota firmware
version x.x.x.x and prior in 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 buffer (boundary[40]) using strcpy() without
any length validation:
char boundary[40];
strcpy(glob_script_mem.jpg_task.boundary, cp + 1);
An attacker controlling the MJPEG HTTP server sends a Content-Type
header with boundary string longer than 39 characters. This corrupts
adjacent heap memory including WiFiClient and HTTPClient vtable
pointers at offsets +0x2E and +0x7E, leading to remote code execution
when virtual methods are subsequently called 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-38427
PoC: https://github.com/sermikr0/CVE-2026-38427
|
|---|
| Fonte | ⚠️ https://github.com/sermikr0/CVE-2026-38427 |
|---|
| Utilizador | sermikro (UID 98509) |
|---|
| Submissão | 25/05/2026 12h27 (há 4 meses) |
|---|
| Moderação | 07/06/2026 21h58 (13 days later) |
|---|
| Estado | Duplicado |
|---|
| Entrada VulDB | 366175 [arendst Tasmota até 15.3.0.3 fetch_jpg uint16_t Excesso de tampão] |
|---|
| Pontos | 0 |
|---|