Re:OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-1...
by amluto on Friday November 20, 2026 @02:08AM
(#50571148)
Are you saying that any code that base64’s a string of attacker-controlled length is a mistake?
Re:OpenSSL: Buffer overflow in EVP_EncodeBlock() (CVE-2026-1...
by Pinus on Friday November 20, 2026 @02:23AM
(#50571278)
I think userbinator thought that you meant that the calculation would overflow, while I think you meant that the calculation, even if not overflowing, would return the wrong value under some conditions and that subsequent code would then overflow the buffer.
If you let untrusted input reach inlen and overflow that computation, you have already failed:
https://news.ycombinator.com/item?id=50570319