{"id":"CVE-2026-140393","aliases":["CVE-2026-140393","RUSTSEC-2026-0554","GHSA-54pm-2wm5-hpmg"],"related":[],"kind":"vulnerability","state":"published","title":"actix-http before 3.21.2 Denial of Service via HTTP/1 Keep-Alive Connection Exhaustion","summary":"actix-http before 3.21.2, the HTTP library underlying Actix Web, contains a denial of service vulnerability in its HTTP/1 dispatcher because received bytes clear the keep-alive timer while the request head timer applies only to a connection's first request. Unauthenticated remote attackers can send one byte of a second request on keep-alive connections to hold them open indefinitely, exhausting file descriptors and blocking new connections.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"actix-http before 3.21.2, the HTTP library underlying Actix Web, contains a denial of service vulnerability in its HTTP/1 dispatcher because received bytes clear the keep-alive timer while the request head timer applies only to a connection's first request. Unauthenticated remote attackers can send one byte of a second request on keep-alive connections to hold them open indefinitely, exhausting file descriptors and blocking new connections.","source":"cvelist"},{"lang":"en","text":"Affected versions of `actix-http` apply the request header timeout only to the\nfirst request on an HTTP/1 connection. When data arrives for a later request,\nthe dispatcher clears the idle keep-alive timer without starting a request\nheader timer.\n\nA remote client without authentication can complete one request, send one byte\nof a second request, and leave the connection open indefinitely without sending\nmore data. The same problem occurs when a complete pipelined request is followed\nby a partial request in the same read. Repeating this can exhaust connection or\nfile-descriptor limits and prevent new connections from being accepted. The\neffect depends on the server's resource limits and upstream connection controls.\n\nUpgrade to `actix-http` 3.21.2 or later. The fix applies the configured request\nheader timeout to later partial requests, including those left in the buffer\nafter a complete pipelined request. Additional bytes do not renew the deadline.\nThe timeout covers request headers, not upload bodies.\n\nIf an upgrade is not possible, disable HTTP keep-alive, for example with\n`HttpServer::keep_alive(KeepAlive::Disabled)` in `actix-web`. Connection limits\ncan reduce resource use but do not make stalled connections expire.","format":"markdown","source":"rustsec"}],"published":"2026-11-16T12:00:00.000Z","modified":"2026-12-01T16:18:19.553Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.21.2","status":"affected"},{"type":"semver","version":"3.21.2","status":"unaffected"}],"vendor":"actix","product":"actix-http","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"3.21.2"}],"ecosystem":"crates.io","package":"actix-http","purl":"pkg:cargo/actix-http","source":"rustsec"}],"references":[{"url":"https://github.com/actix/actix-web/security/advisories/GHSA-54pm-2wm5-hpmg","tags":["advisory","exploit","vendor-advisory"],"sources":["cvelist","rustsec","nvd"]},{"url":"https://www.vulncheck.com/advisories/actix-http-before-3.21.2-denial-of-service-via-http-1-keep-alive-connection-exhaustion","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/actix-http","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0554.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/actix/actix-web/releases/tag/actix-http-v3.21.2","tags":["web"],"sources":["rustsec"]}],"credits":["robjtede"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-12-01T15:12:03.288Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140393","url":"https://www.cve.org/CVERecord?id=CVE-2026-140393","licence":"CVE Terms of Use","modified":"2026-12-01T15:12:10.424Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0554","url":"https://rustsec.org/advisories/RUSTSEC-2026-0554.html","licence":"CC0-1.0","modified":"2026-12-01T16:10:46.155Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140393","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140393","licence":"Public domain","modified":"2026-12-01T16:18:19.553Z"}],"updatedAt":"2026-12-01T16:37:26.690Z"}