BACK TO THE WIRE
SW-000265AWS · AWS COMMON RUNTIME (AWS-C-EVENT-STREAM) AND DEPENDENT AWS SDKS · EVENT-STREAM STREAMING DECODERHIGHACTION REQUIRED

CVE-2026-5190: Stack buffer overflow in AWS C event-stream decoder enables RCE

AWS disclosed CVE-2026-5190, a stack buffer overflow in the aws-c-event-stream decoder used by the AWS Common Runtime library, which underlies several AWS SDKs that talk to event-stream services like Kinesis and Transcribe. A malicious third-party server could send crafted event-stream messages to trigger memory corruption and potentially achieve arbitrary code execution on the connecting client.

SECURITY · DEVOPS · CLOUD · VULNERABILITY · SECURITY ADVISORY

PUBLISHED OCT 14, 2026 16:45 UTC

WHAT CHANGED

The vulnerability affects aws-c-event-stream versions before 0.6.0 and several higher-level SDKs that embed it: aws-iot-device-sdk-cpp-v2 (<1.42.1), aws-iot-device-sdk-java-v2 (<1.30.1), aws-iot-device-sdk-python-v2 (<1.28.2), aws-iot-device-sdk-js-v2 (<1.25.1), aws-sdk-swift (<1.6.70), and aws-sdk-cpp (<1.11.764). AWS has released fixed versions: aws-c-event-stream 0.6.0, aws-iot-device-sdk-cpp-v2 1.42.1, aws-iot-device-sdk-java-v2 1.30.1, aws-iot-device-sdk-python-v2 1.28.2, aws-iot-device-sdk-js-v2 1.25.1, aws-sdk-swift 1.6.70, and aws-sdk-cpp 1.11.764.

WHY IT MATTERS

Any client application using an affected library version that communicates with an untrusted or attacker-controlled event-stream server is at risk of memory corruption and potential remote code execution. AWS states its own servers would not trigger the issue, but applications connecting to third-party or customer-controlled event-stream endpoints should be treated as exposed until patched. Administrators should upgrade affected libraries and SDKs immediately, including any forked or derivative code, and verify that untrusted servers are not used with unpatched clients in the interim.

WHO IS AFFECTED

ROLES
Developers using AWS SDKs with event-stream protocolSecurity engineers managing AWS SDK dependencies
PRODUCTS
aws-c-event-streamaws-iot-device-sdk-cpp-v2aws-iot-device-sdk-java-v2aws-iot-device-sdk-python-v2aws-iot-device-sdk-js-v2aws-sdk-swiftaws-sdk-cpp
FEATURES
Event-stream streaming decoder
CONFIGURATIONS
aws-c-event-stream < 0.6.0aws-iot-device-sdk-cpp-v2 < 1.42.1aws-iot-device-sdk-java-v2 < 1.30.1aws-iot-device-sdk-python-v2 < 1.28.2aws-iot-device-sdk-js-v2 < 1.25.1aws-sdk-swift < 1.6.70aws-sdk-cpp < 1.11.764
ENVIRONMENTS
Client applications communicating with third-party event-stream servers
EXCLUSIONS
Communication exclusively with AWS-operated servers is not affected

WHAT TO DO

  1. 01
    HIGHAUTOMATABLE

    Upgrade aws-c-event-stream to version 0.6.0 or later.

    DOCUMENTATION
  2. 02
    HIGHAUTOMATABLE

    Upgrade aws-iot-device-sdk-cpp-v2 to version 1.42.1 or later.

    DOCUMENTATION
  3. 03
    HIGHAUTOMATABLE

    Upgrade aws-iot-device-sdk-java-v2 to version 1.30.1 or later.

    DOCUMENTATION
  4. 04
    HIGHAUTOMATABLE

    Upgrade aws-iot-device-sdk-python-v2 to version 1.28.2 or later.

    DOCUMENTATION
  5. 05
    HIGHAUTOMATABLE

    Upgrade aws-iot-device-sdk-js-v2 to version 1.25.1 or later.

    DOCUMENTATION
  6. 06
    HIGHAUTOMATABLE

    Upgrade aws-sdk-swift to version 1.6.70 or later.

    DOCUMENTATION
  7. 07
    HIGHAUTOMATABLE

    Upgrade aws-sdk-cpp to version 1.11.764 or later.

    DOCUMENTATION
  8. 08
    MEDIUM

    Audit any forked or derivative code based on the affected libraries and apply the corresponding patches.

  9. 09
    MEDIUM

    Verify that event-stream protocol communications occur only with trusted servers as an interim mitigation before upgrading.

TIMELINE

ANNOUNCED
MAR 31, 2026

SOURCES

  • PRIMARY SOURCEAWS

    CVE-2026-5190 - AWS C Event Stream Streaming Decoder Stack Buffer Overflow

    PUBLISHED MAR 31, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED OCT 14, 2026 16:45 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?