CVE-2026-3446

Base64 decoding stops at first padded quad by default

State
Published
Severity
6.0 Medium
Published
Apr 10, 2026
Updated
Apr 13, 2026
Reserved
Mar 2, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NPSF

Weaknesses

  • CWE-345 Insufficient Verification of Data Authenticity

Affected Products

ProductVersions
CPythonPython Software Foundation
  • before 3.13.13Affected
  • 3.14.0 to before 3.14.4Affected
  • 3.15.0a1 to before 3.15.0a8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.