High severity · published Jun 26, 2025
CVE-2025-53007
arduino-esp32 vulnerable to CRLF injection in WebServer.cpp
8.9
CVSS
0.5%
EPSS
No
On KEV
Description
arduino-esp32 provides an Arduino core for the ESP32. Versions prior to 3.3.0-RC1 and 3.2.1 contain a HTTP Response Splitting vulnerability. The `sendHeader` function takes arbitrary input for the HTTP header name and value, concatenates them into an HTTP header line, and appends this to the outgoing HTTP response headers. There is no validation or sanitization of the `name` or `value` parameters before they are included in the HTTP response. If an attacker can control the input to `sendHeader` (either directly or indirectly), they could inject carriage return (`\r`) or line feed (`\n`) characters into either the header name or value. This could allow the attacker to inject additional headers, manipulate the structure of the HTTP response, potentially inject an entire new HTTP response (HTTP Response Splitting), and/or ause header confusion or other HTTP protocol attacks. Versions 3.3.0-RC1 and 3.2.1 contain a fix for the issue.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AR
arduino-esp32 · espressif
< 3.2.1; >= 3.3.0-alpha1, < 3.3.0-RC1 · source: vendor
Affected product
AR
arduino-esp32
espressif
More from arduino-esp32
9.9
CVE-2024-45798
Multiple Poisoned Pipeline Execution (PPE) vulnerabilities
9.8
CVE-2026-42854
arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE
8.8
CVE-2026-41429
Improper validation of NBNS name_len in arduino-esp32 NetBIOS leads to memory corruption
8.7
CVE-2025-53540
CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution
7.5
CVE-2026-42855
arduino-esp32: Digest authentication URI mismatch bypass in WebServer allows cross-resource replay attack