What’s Vulnerable › Vulnerabilities

CVE-2026-3446: Base64 decoding stops at first padded quad by default

Description

When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other implementations. Use "validate=True" to enable stricter processing of base64 data.

Affected products

How to fix

Upgrade to a fixed version: Python 3.13.13, 3.14.4, 3.15.0a8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-3446 or the next vulnerability affects your stack