Skip to content

Out-of-bounds read in the Base64 decoder in the AWS SDK for C++

Moderate
sbiscigl published GHSA-mxm9-xpf9-x66x Aug 12, 2026

Package

aws-cpp-sdk-core (Github)

Affected versions

<= 1.11.861

Patched versions

1.11.862

Description

Summary

The AWS SDK for C++ is an open-source library that provides C++ developers with APIs for AWS services. Certain inputs to the Base64 decoder in the SDK's core library, on some platforms, might cause the decoder to read outside the bounds of its decode table.

Impact

Certain inputs to the Base64 decoder, on some platforms, might cause the decoder to read outside the bounds of its decode table, which might crash the process performing the decode.

The decoder is reachable from the generated C++ service clients, which use it for a variety of features.

Impacted versions: <= 1.11.861

Patches

This issue has been addressed in AWS SDK for C++ version 1.11.862. The SDK's Base64 implementation now delegates to the implementation in the AWS Common Runtime (aws-crt-cpp). We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Customers who vendor or statically link the SDK should confirm that their build consumes the updated aws-crt-cpp submodule, not only the updated SDK sources.

Workarounds

There is no configuration or runtime option that avoids this issue. Upgrading is required.

References

If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

Acknowledgement

We would like to thank Lucas Carvalho Cordeiro (@lucasccordeiro) and Rafael Sa Menezes (@rafaelsamenezes) of the University of Manchester for collaborating on this issue through the coordinated vulnerability disclosure process.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2026-19643

Weaknesses

Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer. Learn more on MITRE.

Credits