When the input ends in a short padded tail, it writes past the end, so malformed or truncated Base64 corrupts adjacent memory instead of just failing to decode.
GitHub
8392044: AVX-512 Base64 decoder overwrites output buffer on short padded tail by albertnetymk · Pull Request #32781 · openjdk/jdk