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
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08MEDIUM
Audit any forked or derivative code based on the affected libraries and apply the corresponding patches.
- 09MEDIUM
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
ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.