CVE-2026-3446
EPSS 0.03%Base64 decoding stops at first padded quad by default
Published: 4/10/2026Modified: 5/16/2026
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 (9)
- Bitnami/libpythonfrom 0, < 3.13.13, >= 3.14.0, < 3.14.4
- Bitnami/pythonfrom 0, < 3.13.13, >= 3.14.0, < 3.14.4
- Bitnami/python-minfrom 0, < 3.13.13, >= 3.14.0, < 3.14.4
- Debian/pypy3from 0
- Debian/python2.7from 0
- Debian/python3.11from 0
- Debian/python3.13from 0, < 3.13.5-2+deb13u2
- Debian/python3.14from 0, < 3.14.4-1
- Debian/python3.9from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.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/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:X |
References (8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-3446
- WEBhttps://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474
- WEBhttps://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0e
- WEBhttps://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7fa
- WEBhttps://github.com/python/cpython/issues/145264
- WEBhttps://github.com/python/cpython/pull/145267
- WEBhttps://mail.python.org/archives/list/[email protected]/thread/F5ZT5ICGJ6CKXVUJ34YBVY7WOZ5SHG53/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2026-3446