Vulnerability · Published Apr 10, 2026 · Assigned by PSF

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

Medium 6.0

In plain English

A medium-severity insufficient verification of data authenticity in CPython from Python Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.0Medium
Exploit odds (30 days)0.2%top 91.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python3.11no fix listedDEBIAN-CVE-2026-3446
Debian:13python3.133.13.5-2+deb13u2DEBIAN-CVE-2026-3446
Debian:14python3.143.14.4-1DEBIAN-CVE-2026-3446
Ubuntu:22.04:LTSpypy3no fix listedUBUNTU-CVE-2026-3446
Ubuntu:24.04:LTSpypy3no fix listedUBUNTU-CVE-2026-3446
Ubuntu:25.10pypy3no fix listedUBUNTU-CVE-2026-3446
Ubuntu:26.04:LTSpypy3no fix listedUBUNTU-CVE-2026-3446
Ubuntu:26.10pypy3no fix listedUBUNTU-CVE-2026-3446
Ubuntu:22.04:LTSpython3.10no fix listedUBUNTU-CVE-2026-3446
Ubuntu:24.04:LTSpython3.12no fix listedUBUNTU-CVE-2026-3446
Ubuntu:25.10python3.13no fix listedUBUNTU-CVE-2026-3446
Ubuntu:25.10python3.14no fix listedUBUNTU-CVE-2026-3446

Affected products (as reported)

VendorProductVersions
Python Software Foundation CPython 0 – before 3.13.133.14.0 – before 3.14.43.15.0a1 – before 3.15.0a8

Weakness: CWE-345 · Vector: 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

References