Skip to main content
← All vulnerabilities
CVE-2026-3446

Base64 decoding stops at first padded quad by default

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.13.13, 3.14.4, 3.15.0a8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Python Software Foundation CPython

    fixed in 3.13.13; From 3.14.0 · fixed in 3.14.4; From 3.15.0a1 · fixed in 3.15.0a8

References 6

GitHub · python/cpython

mail.python.org