Medium severity · published Apr 10, 2026
CVE-2026-3446
Base64 decoding stops at first padded quad by default
6.0
CVSS
0.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CP
CPython · Python Software Foundation
before 3.13.13; 3.14.0 before 3.14.4; 3.15.0a1 before 3.15.0a8 · source: vendor