CVE-2026-3446 Base64 decoding stops at first padded quad by default
MediumCVSS 6.0
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| Python Software Foundation CPython | < 3.13.13 | 3.13.13 |
| Python Software Foundation CPython | >= 3.14.0, < 3.14.4 | 3.14.4 |
| Python Software Foundation CPython | >= 3.15.0a1, < 3.15.0a8 | 3.15.0a8 |
| debian/python3.11(Debian:12) | All versions | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u3 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u4 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u5 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u6 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u7 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u8 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u9 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.3-1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.3-2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.4-1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.5-1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.5-2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.5-3 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.6-1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.6-2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.6-3 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.6-3~hurd.2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.7-1 | No fix listed |
Show 39 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python3.11(Debian:12) | = 3.11.7-2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.8-1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.8-1.1~exp1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.8-1.1~exp2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.8-2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.8-3 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.8-3+hurd.1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.9-1 | No fix listed |
| debian/python3.13(Debian:13) | < 3.13.5-2+deb13u2 | 3.13.5-2+deb13u2 |
| debian/python3.13(Debian:13) | = 3.13.5-2 | No fix listed |
| debian/python3.13(Debian:13) | = 3.13.5-2+deb13u1 | No fix listed |
| debian/python3.14(Debian:14) | < 3.14.4-1 | 3.14.4-1 |
| debian/python3.14(Debian:14) | = 3.14.0-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-5 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~a7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-3 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-4 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.3-5 | No fix listed |
| ubuntu/pypy3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python3.10(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python2.7(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python3.11(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/pypy3(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python3.12(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/pypy3(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/pypy3(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com patch
- github.com issue-tracking
- mail.python.org vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- Debian Security Tracker CVE-2026-3446 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org