CVE-2026-3446

Base64 decoding stops at first padded quad by default

En bref

Sévérité
MEDIUM 6.0
EPSS
EPSS 0.19 % · centile 8 (2026-10-27)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
PSF
Statut NVD
Awaiting Analysis

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

VersionScoreVecteurÉvalué par
CVSS 4.0MEDIUM 6.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NPSF
CVSS 4.0MEDIUM 6.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@python.org (Secondary)

Faiblesses (CWE)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Python Software Foundation · CPythonaffected 0 < 3.13.13 ; affected 3.14.0 < 3.14.4 ; affected 3.15.0a1 < 3.15.0a8

Références

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD