Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.3
Python base64 decode may truncate data
published 6 days ago
Summary
In the Python runtime used in the Docker hardened images (versions 3.10 through 3.14), the base64 decoding functions stop processing when they encounter the first padding characters, even if more data follows. This can cause incomplete or altered information to be accepted, which other systems might interpret differently. To avoid this, enable strict validation by calling the function with validate=True or update to a version where the issue is fixed.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | docker hardened images | python-3.10 | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | python-3.10 | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | python-3.11 | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | python-3.11 | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | python-3.12 | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | python-3.12 | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | python-3.13 | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | python-3.14 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | python-3.10 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | python-3.11 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | python-3.12 | All versions |
Original advisory text
When calling base64.b64decode() or related functions the decoding process would stop after encountering the first…
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.
References
- https://scout.docker.com/v/DHI-5y3u-5wsl-hvr7-misr Vendor Advisory
- https://github.com/python/cpython/pull/145267 Patch
- https://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7f... Patch
- https://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0... Patch
- https://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c47... Patch
- https://github.com/python/cpython/issues/145264 URL
- https://alas.aws.amazon.com/AL2/ALAS-2026-3845.html Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-3446 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-15308 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1502 Vendor Advisory
- https://alas.aws.amazon.com/AL2/ALAS-2026-3852.html Vendor Advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-1933.html Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-8328 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-7210 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-3479 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-13462 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-3446 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-3446 Vendor Advisory
- https://ubuntu.com/security/CVE-2026-3446 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-3446 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Timeline
Published19 Nov 2026
Updated19 Nov 2026
First seen19 Nov 2026
Sources
DHI-5y3u-5wsl-hvr7-misr · OSV
Track software like this
Free during beta