Denial of Service due to Panic in AWS SDK for Go v2 SDK EventStream Decoder

Description

CVSSv3.1 Rating: [Medium]
CVSSv3.1 Score: [5.9]
CVSSv3.1 Vector String: [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H]

Summary and Impact

An issue exists in the the EventStream header decoder in AWS SDK for Go v2 in versions predating 2026-03-23. An actor can send a malformed EventStream response frame containing a crafted header value type byte outside the valid range, which can cause the host process to terminate.

Impacted versions: < 2026-03-23

Patches

This issue has been addressed in versions 2026-03-23 and above. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds

Not Applicable

References

If you have any questions or comments about this advisory, we ask that you contact [AWS/Amazon] Security via our vulnerability reporting page or directly via email to [email protected]. Please do not create a public GitHub issue.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2026-04-08 00:18:56 UTC
Updated
2026-04-08 00:18:59 UTC
GitHub reviewed
2026-04-08 00:18:56 UTC

CVSS Scores

Base score Version Severity Vector
5.9 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.

Identifiers

Type Value
GHSA GHSA-xmrv-pmrh-hhx2 ↗

CWEs

CWE id Name
CWE-20 Improper Input Validation

Affected packages (12)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream < 1.7.8 1.7.8
go github.com/aws/aws-sdk-go-v2/service/bedrockagentcore < 1.15.2 1.15.2
go github.com/aws/aws-sdk-go-v2/service/bedrockagentruntime < 1.51.8 1.51.8
go github.com/aws/aws-sdk-go-v2/service/bedrockruntime < 1.50.4 1.50.4
go github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs < 1.65.0 1.65.0
go github.com/aws/aws-sdk-go-v2/service/iotsitewise < 1.52.19 1.52.19
go github.com/aws/aws-sdk-go-v2/service/kinesis < 1.43.5 1.43.5
go github.com/aws/aws-sdk-go-v2/service/lambda < 1.88.5 1.88.5
go github.com/aws/aws-sdk-go-v2/service/lexruntimev2 < 1.35.15 1.35.15
go github.com/aws/aws-sdk-go-v2/service/s3 < 1.97.3 1.97.3
go github.com/aws/aws-sdk-go-v2/service/sagemakerruntime < 1.39.6 1.39.6
go github.com/aws/aws-sdk-go-v2/service/transcribestreaming < 1.34.5 1.34.5

References

cvelogic Threat Intelligence