{"id":"CVE-2026-3446","published":"2026-04-10T18:17:35Z","modified":"2026-04-13T16:07:24Z","title":"Base64 decoding stops at first padded quad by default","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00179,"percentile":0.07662,"provenance":"source"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"references":[{"url":"https://github.com/python/cpython/pull/145267","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/145264","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/F5ZT5ICGJ6CKXVUJ34YBVY7WOZ5SHG53/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0e","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7fa","tags":["patch"]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":1.53},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.13.13",">= 3.14.0, < 3.14.4",">= 3.15.0a1, < 3.15.0a8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-13T16:06:04.489473Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21545","exploited":false,"provenance":"source"}}