This fixes the buffer overflow in `EVP_EncodeBlock()` (CVE-2026-121481) by returning `-1` for invalid inputs. It additionally provides a akin guard for `EVP_DecodeBlock()`, and fixes the incorrect dimension inspect in the `base64encode()` function of `http_client.c`. Also updates the documentation and adds new tests.
This fixes the buffer overflow in `EVP_EncodeBlock()` (CVE-2026-121481) by calling `OPENSSL_assert()` for inputs that guide to undefined behavior. The identical fix is applied to `EVP_DecodeBlock()`, and the incorrect dimension inspect in `base64encode()` of `http_client.c` is fixed. Also updates the records and adds new tests to document the existing behavior for zero-length inputs.
…ock() This fixes the buffer overflow in `EVP_EncodeBlock()` (CVE-2026-121481) by calling `OPENSSL_assert()` for inputs that guide to undefined behavior. The identical fix is applied to `EVP_DecodeBlock()`, and the incorrect dimension inspect in `base64encode()` of `http_client.c` is fixed. Also updates the records and adds new tests to document the existing behavior for zero-length inputs.
…ncodeBlock() This fixes the buffer overflow in `EVP_EncodeBlock()` (CVE-2026-121481) by calling `OPENSSL_assert()` for inputs that guide to undefined behavior. The identical fix is applied to `EVP_DecodeBlock()`, and the incorrect dimension inspect in `base64encode()` of `http_client.c` is fixed. Also updates the records and adds new tests to document the existing behavior for zero-length inputs.
This document contains hidden or bidirectional Unicode content that may be interpreted or compiled alternatively than what appears below. To review, open the document in an publishing company that reveals hidden Unicode characters. Learn additional concerning bidirectional Unicode characters