Skip to content
CVE PROGRAM SOURCE RECORD6.0 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.13.13affected
  • 3.14.0 to < 3.14.4affected
  • 3.15.0a1 to < 3.15.0a8affected

References