PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-47077 benoitc CVE debrief

A resource exhaustion vulnerability exists in the hackney HTTP client library for Erlang/Elixir, specifically affecting HTTP/3 response handling. The `hackney_h3:await_response_loop/6` function accumulates response body data in memory without enforcing a maximum size limit. The timeout mechanism resets on each received chunk or control frame rather than serving as a hard deadline, allowing a malicious server to maintain an open connection indefinitely by sending minimal data at intervals just below the timeout threshold. This unbounded accumulation leads to linear memory growth until the BEAM process heap is exhausted, resulting in denial of service through out-of-memory conditions. The vulnerability affects versions 2.0.0 through 4.0.0, with remediation available in version 4.0.1.

Vendor
benoitc
Product
hackney
CVSS
HIGH 8.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-25
Original CVE updated
2026-07-24
Advisory published
2026-05-25
Advisory updated
2026-07-24

Who should care

Organizations running Erlang/Elixir applications using hackney for HTTP/3 client connections, particularly those connecting to untrusted or third-party HTTP/3 servers. Infrastructure teams monitoring BEAM VM memory usage and application developers implementing HTTP client functionality.

Technical summary

The vulnerability resides in `hackney_h3:await_response_loop/6` where HTTP/3 response body chunks are accumulated in a buffer without size constraints. The receive loop uses a timeout that resets on every message (data chunks, housekeeping messages, settings frames), meaning a malicious server can keep the connection alive by sending minimal data just before timeout expiration. With `Fin = false` and no final frame ever sent, the buffer grows without bound until memory exhaustion. This is a classic slowloris-style attack adapted for HTTP/3's framing mechanism. The fix in commit 3d25f9fea26c90609de9d64366fedfe5065413bc likely introduces maximum buffer size enforcement or independent wall-clock timeouts.

Defensive priority

HIGH

Recommended defensive actions

  • Upgrade hackney to version 4.0.1 or later which contains the fix
  • If immediate upgrade is not possible, implement application-level response size limits for HTTP/3 requests
  • Monitor BEAM process memory usage for unexpected growth patterns
  • Consider network-level rate limiting or connection timeouts for untrusted HTTP/3 endpoints
  • Review and audit HTTP/3 server connections in production environments for anomalous behavior

Evidence notes

CVE published 2026-05-25; modified 2026-05-26. NVD status: Undergoing Analysis. CWE-400 (Uncontrolled Resource Consumption) identified. CVSS 4.0 vector: AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-47077 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-47077

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-47077 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-47077

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://cna.erlef.org/cves/CVE-2026-47077.html

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db - Third Party Advisory, Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://github.com/benoitc/hackney/commit/3d25f9fea26c90609de9d64366fedfe5065413bc

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db - Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://github.com/benoitc/hackney/security/advisories/GHSA-jq4m-q6p2-8gwc

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db - Exploit, Vendor Advisory, Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://osv.dev/vulnerability/EEF-CVE-2026-47077

    6b3ad84c-e1a6-4bf7-a703-f496b71e49db - Third Party Advisory, Patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.