# CVE-2026-38427: An issue in fetchjpg() in xdrv10scripter.ino in Tasmota through 15.3.0.3 allows a remote attacker to cause heap buffer overflow.

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 30% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-27T00:00:00.000Z
- Modified: 2026-10-19T22:10:00.130Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/sermikr0/CVE-2026-38427> (exploit)
- <https://github.com/arendst/Tasmota/blob/c207cc2/tasmota/tasmota_xdrv_driver/xdrv_10_scripter.ino>

## Sources

- CVE List: [CVE-2026-38427](https://www.cve.org/CVERecord?id=CVE-2026-38427), CVE Terms of Use, modified 2026-05-27
- NVD: [CVE-2026-38427](https://nvd.nist.gov/vuln/detail/CVE-2026-38427), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-38427 · Whole record: https://cve.day/CVE-2026-38427.json · Rebuilt by cve.day 2026-11-25T22:59:22.469Z
