CVE-2026-62966

Source
https://cve.org/CVERecord?id=CVE-2026-62966
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62966.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62966
Aliases
  • GHSA-8m8p-vhxc-jmjw
Published
2026-10-30T20:53:37Z
Modified
2026-11-08T07:11:30Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ESPAsyncWebServer multipart parser has null-pointer write
Details

ESPAsyncWebServer is an asynchronous HTTP and WebSocket server library for ESP32, ESP8266, RP2040 and RP2350. Prior to version 3.11.2, the multipart parser in src/WebRequest.cpp frees _itemBuffer and sets it to NULL when BOUNDARY_OR_DATA matches the closing boundary of a file part, before confirming the following terminator, while leaving _itemIsFile true. If the next byte is neither the final closing dashes nor a clean CRLF, the DASH3_OR_RETURN2 or EXPECT_FEED2 rewind branch re-injects provisionally consumed bytes through itemWriteByte. Because _itemIsFile remains true, _itemBuffer[_itemBufferIndex++] writes through a null pointer. On ESP32 this causes a StoreProhibited exception, panic and device reboot, producing remote denial of service. A route with a non-trivial body/upload handler, such as a file-upload or web-OTA endpoint, must be present. This issue is fixed in version 3.11.2.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-476",
        "CWE-672"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62966.json"
}
References

Affected packages

Git / github.com/esp32async/espasyncwebserver

Affected ranges

Type
GIT
Repo
https://github.com/esp32async/espasyncwebserver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "3.11.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "4efbd35e597d91f01749f2d4a14bb78fba8ea02e"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v3.*
v3.10.0
v3.10.1
v3.10.2
v3.10.3
v3.11.0
v3.11.1
v3.6.0
v3.6.1
v3.6.2
v3.7.0
v3.7.1
v3.7.10
v3.7.2
v3.7.3
v3.7.4
v3.7.5
v3.7.6
v3.7.7
v3.7.8
v3.7.9
v3.8.0
v3.8.1
v3.9.0
v3.9.1
v3.9.2
v3.9.3
v3.9.4
v3.9.5
v3.9.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62966.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "317830596167781103938459087025299011748",
            "length": 5824
        },
        "id": "CVE-2026-62966-13d68a88",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/esp32async/espasyncwebserver/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e",
        "target": {
            "file": "src/WebRequest.cpp",
            "function": "AsyncWebServerRequest::_parseMultipartPostByte"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "189328759699576000282789025689487091849",
                "239112933899564100548092059941149991104",
                "57789338315127246795705317473647072314",
                "218414193814096449943570698995914427409",
                "252268143549853470747907397416556036400",
                "159541657131724933171760609363337227888",
                "37375395580869109958763977281927563364",
                "170253019847571814534893283195536037335"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-62966-89ef1fb8",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/esp32async/espasyncwebserver/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e",
        "target": {
            "file": "src/WebRequest.cpp"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "117013972368662106320310198045115265332",
            "length": 363
        },
        "id": "CVE-2026-62966-d913a520",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/esp32async/espasyncwebserver/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e",
        "target": {
            "file": "src/WebRequest.cpp",
            "function": "AsyncWebServerRequest::_handleUploadByte"
        }
    }
]
vanir_signatures_modified
"2026-11-08T07:11:30Z"