CVE-2026-3446

MEDIUM

Base64 decoding stops at first padded quad by default

Title source: cna

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.

Scores

CVSS v4 6.0
EPSS 0.0003
EPSS Percentile 7.0%
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Details

CWE
CWE-345
Status published
Products (3)
Python Software Foundation/CPython < 3.13.13
Python Software Foundation/CPython 3.14.0 - 3.14.4
Python Software Foundation/CPython 3.15.0a1 - 3.15.0a8
Published Apr 10, 2026
Tracked Since Apr 11, 2026