# CVE-2025-53007: arduino-esp32 vulnerable to CRLF injection in WebServer.cpp

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.9
- **CVSS:** 8.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-26)
- **CWE:** CWE-113
- **Published:** 2025-06-26T14:45:40.839Z
- **Modified:** 2026-06-17T09:37:27.930Z

## Who should check

- Anyone running espressif arduino-esp32 \< 3.2.1; \>= 3.3.0-alpha1, \< 3.3.0-RC1

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

## Affected and fixed versions

- espressif arduino-esp32: \< 3.2.1; \>= 3.3.0-alpha1, \< 3.3.0-RC1 (cvelist)

## Mitigation

- Upgrade arduino-esp32 to 3.3.0-RC1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-53007. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-53007.md
Affected: espressif arduino-esp32 < 3.2.1; >= 3.3.0-alpha1, < 3.3.0-RC1
Fixed in: espressif arduino-esp32 3.2.1, espressif arduino-esp32 3.3.0-RC1

Steps:
1. Search this machine and project for espressif arduino-esp32: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-53007 being exploited?

There is no confirmed exploitation: CVE-2025-53007 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-53007?

High: CVSS 8.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-53007?

espressif arduino-esp32 \< 3.2.1; \>= 3.3.0-alpha1, \< 3.3.0-RC1.

### Is there a fix for CVE-2025-53007?

Yes. Fixed in espressif arduino-esp32 3.2.1, espressif arduino-esp32 3.3.0-RC1. Upgrade arduino-esp32 to 3.3.0-RC1 or later.

### How do I check if I'm affected by CVE-2025-53007?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/espressif/arduino-esp32/security/advisories/GHSA-5476-9jjq-563m>
- patch: <https://github.com/espressif/arduino-esp32/commit/21640ac82a1bb5efa8cf0b3841be1ac80add6785>
- other: <https://github.com/espressif/arduino-esp32/blob/9e61fa7e4bce59c05cb17c15b11b53b9bafca077/libraries/WebServer/src/WebServer.cpp#L504-L521>
- other: <https://github.com/espressif/arduino-esp32/blob/9e61fa7e4bce59c05cb17c15b11b53b9bafca077/libraries/WebServer/src/WebServer.cpp#L577-L582>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-53007>

HTML: <https://flawdb.com/CVE-2025-53007> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-53007>
