Untriaged
Base64 decoding stops at first padded quad by default
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://github.com/python/cpython/issues/145264 issue-tracking
Affected products
CPython
- <3.13.13
- <3.14.4
- <3.15.0a8
Package maintainers
-
@sheepforce Phillip Seeber <phillip.seeber@googlemail.com>