{"id":"DHI-zpqq-uqkt-l6hs-kvxw","aliases":[],"title":"Issue summary: Calling EVP_EncodeBlock() with an input length close to INT_MAX","originalDescription":"Issue summary: Calling EVP_EncodeBlock() with an input length close to INT_MAX may overflow the calculation of the encoded output size and write past the end of the caller-supplied output buffer. Impact summary: No path by which an attacker can trigger this has been identified. An application that passes an input length near INT_MAX to EVP_EncodeBlock() could suffer a heap buffer overflow, crashing or corrupting its own memory, but it must itself supply such a length. CWE: CWE-190: Integer Overflow or Wraparound Description: EVP_EncodeBlock() base64-encodes a buffer of a caller-supplied length into an output buffer that the caller allocates. The caller is expected to reserve 4*((len+2)/3)+1 bytes. For input lengths close to INT_MAX, the arithmetic that computes the encoded length overflows a signed integer, so the function writes more data than the documented output size. The result is a heap buffer overflow in the calling process. Reaching this requires an application to pass an input length near INT_MAX to EVP_EncodeBlock(). OpenSSL's TLS, QUIC and CMS implementations never encode buffers of that size, and the command line tools cannot practically be made to do so: the limits on ","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-zpqq-uqkt-l6hs-kvxw","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121481","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-121481","type":"advisory"},{"url":"https://ubuntu.com/security/CVE-2026-121481","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-121481","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-23T21:00:42.164Z","url":"https://osv.dev/vulnerability/DHI-zpqq-uqkt-l6hs-kvxw","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T17:10:30.499Z"}],"firstSeenAt":"2026-11-21T17:10:30.499Z","publishedAt":"2026-11-21T16:31:30.000Z","modifiedAt":"2026-11-23T20:45:15.811Z"}