CVE-2026-38427

Heap Buffer Overflow in Tasmota JPEG Fetch Function Enables Device Crash

Published May 27, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
An issue in fetch_jpg() in xdrv_10_scripter.ino in Tasmota through 15.3.0.3 allows a remote attacker to cause heap buffer overflow. The Content-Length from a JPEG stream is stored in a uint16_t variable; values above 65535 wrap around, causing allocation of a smaller buffer than the data actually read.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Arendst
Arendst tasmota
Vendors & Products Arendst
Arendst tasmota
Type Values Removed Values Added
Title Heap Buffer Overflow in Tasmota JPEG Fetch Function Enables Device Crash
Type Values Removed Values Added
Title Heap Buffer Overflow in Tasmota JPEG Stream Handler
Weaknesses CWE-120
Type Values Removed Values Added
Weaknesses CWE-122
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Heap Buffer Overflow in Tasmota JPEG Stream Handler
Weaknesses CWE-120
Type Values Removed Values Added
Description An issue in fetch_jpg() in xdrv_10_scripter.ino in Tasmota through 15.3.0.3 allows a remote attacker to cause heap buffer overflow. The Content-Length from a JPEG stream is stored in a uint16_t variable; values above 65535 wrap around, causing allocation of a smaller buffer than the data actually read.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 27, 2026, 6:20 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
May 27, 2026, 2:16 PM
Modified
Oct 19, 2026, 10:10 PM