AWS discloses CVE-2026-12043 heap double-free in aws-c-http HTTP/2 handling
AWS published security bulletin 2026-043-AWS describing CVE-2026-12043, a heap double-free vulnerability in the aws-c-http library caused by improper handling of HPACK dynamic table size updates. A malicious HTTP/2 server could send a crafted sequence of HEADERS frames to corrupt memory on a connecting client, with potential for arbitrary code execution. The issue affects aws-c-http versions 0.4.22 through 0.10.15 and is fixed in 0.11.0.
SECURITY · NETWORK · DEVOPS · VULNERABILITY · SECURITY ADVISORY
PUBLISHED OCT 12, 2026 16:34 UTC
WHAT CHANGED
AWS identified and disclosed a memory corruption flaw in aws-c-http, the HTTP client library used internally by AWS SDKs (including aws-sdk-cpp and aws-sdk-java-v2) for making requests to AWS services. The vulnerability stems from improper handling of HPACK dynamic table size updates during HTTP/2 HEADERS frame processing, allowing a remote server to trigger a heap double-free on the connecting client. The fix is released in aws-c-http 0.11.0. Listed exposed SDK ranges are aws-sdk-cpp >=1.11.41 and <=1.11.814, and aws-sdk-java-v2 >=2.44.27 and <=2.44.14; the java-v2 range as stated appears inconsistent (minimum version exceeds the maximum) and should be verified against AWS's dependency advisory tooling.
WHY IT MATTERS
Because aws-c-http underpins HTTP request handling in multiple AWS SDKs, any application built on an affected SDK version could be exposed to memory corruption or remote code execution if it connects to a malicious or compromised HTTP/2 server. This is a client-side risk triggered by server-controlled input, making it relevant to any service or application making outbound AWS SDK calls over HTTP/2. Administrators should confirm whether their deployed SDK and aws-c-http versions fall within the affected ranges and apply the 0.11.0 fix or forked equivalents. AWS also notes that forcing HTTP/1.1 connections is a viable interim workaround where upgrading is not immediately possible.
WHO IS AFFECTED
- PRODUCTS
- AWS Common Runtime aws-c-http libraryaws-sdk-cppaws-sdk-java-v2
- FEATURES
- HTTP/2 HEADERS frame processingHPACK dynamic table size updates
- CONFIGURATIONS
- HTTP/2 client connections
- EXCLUSIONS
- HTTP/1.1 connections (not affected by this HPACK/HTTP2 handling issue per workaround guidance)
WHAT TO DO
- 01CRITICALAUTOMATABLE
Upgrade aws-c-http to version 0.11.0 or later to remediate CVE-2026-12043.
DOCUMENTATION - 02HIGHAUTOMATABLE
Upgrade aws-sdk-cpp and aws-sdk-java-v2 dependencies to versions that bundle the patched aws-c-http (0.11.0+).
DOCUMENTATION - 03MEDIUMAUTOMATABLE
As a temporary mitigation if immediate upgrade is not possible, configure clients to force HTTP/1.1 connections instead of HTTP/2.
DOCUMENTATION - 04MEDIUM
Audit any forked or derivative code bases that embed aws-c-http to ensure the fix for CVE-2026-12043 is incorporated.
DOCUMENTATION
TIMELINE
- ANNOUNCED
- JUN 12, 2026
SOURCES
- PRIMARY SOURCEAMAZON WEB SERVICES, INC.
CVE-2026-12043 - Heap double-free in AWS Common Runtime aws-c-http
PUBLISHED JUN 12, 2026VIEW SOURCE
VERIFICATION
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.