# CVE-2026-3446: Base64 decoding stops at first padded quad by default

- Severity: Medium 6.0 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-02)
- Published: 2026-04-10T18:17:35.045Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: PSF-2026-16, BIT-LIBPYTHON-2026-3446, BIT-PYTHON-2026-3446, BIT-PYTHON-MIN-2026-3446
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## 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.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.13.13; from 3.14.0 before 3.14.4; from 3.15.0a1 before 3.15.0a8
- https://github.com/python/cpython: before 1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474; before 4561f6418a691b3e89aef0901f53fe0dfb7f7c0e; before e31c55121620189a0d1a07b689762d8ca9c1b7fa
- libpython (Bitnami): before 3.13.13; from 3.14.0 before 3.14.4
- python (Bitnami): before 3.13.13; from 3.14.0 before 3.14.4
- python-min (Bitnami): before 3.13.13; from 3.14.0 before 3.14.4

## Every score

- PSF: CVSS:4.0 6.0 Medium `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`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/python/cpython/pull/145267> (patch, web)
- <https://github.com/python/cpython/issues/145264> (issue-tracking, report, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/F5ZT5ICGJ6CKXVUJ34YBVY7WOZ5SHG53/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/commit/1f9958f909c1b41a4ffc0b613ef8ec8fa5e7c474> (fix, patch, web)
- <https://github.com/python/cpython/commit/4561f6418a691b3e89aef0901f53fe0dfb7f7c0e> (fix, patch, web)
- <https://github.com/python/cpython/commit/e31c55121620189a0d1a07b689762d8ca9c1b7fa> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-3446> (web)

## Sources

- CVE List: [CVE-2026-3446](https://www.cve.org/CVERecord?id=CVE-2026-3446), CVE Terms of Use, modified 2026-04-13
- Python Software Foundation: [PSF-2026-16](https://osv.dev/vulnerability/PSF-2026-16), CC-BY-4.0, modified 2026-04-17
- NVD: [CVE-2026-3446](https://nvd.nist.gov/vuln/detail/CVE-2026-3446), Public domain, modified 2026-10-26
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-3446](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-3446), Apache-2.0, modified 2026-04-17
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-3446](https://osv.dev/vulnerability/BIT-PYTHON-2026-3446), Apache-2.0, modified 2026-04-17
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-3446](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-3446), Apache-2.0, modified 2026-04-17

---

Page: https://cve.day/CVE-2026-3446 · Whole record: https://cve.day/CVE-2026-3446.json · Rebuilt by cve.day 2026-11-25T22:59:18.541Z
