台灣 AI x AEC 情報BY FBI SICENTER
AI × AEC · CURATED INSIGHT

OpenSSL Discloses Heap Buffer Overflow Flaw CVE-2026-121481 in Base64 Encoding Function

Cybersecurity and privacy

The OpenSSL Project disclosed CVE-2026-121481, where Base64 encoding function EVP_EncodeBlock() can trigger integer and heap buffer overflows with inputs near 2GB, affecting versions 4.0.0–4.0.3 and 4.1.0. Severity ratings diverge between GitHub (CVSS 9.8) and NVD/CVE (5.9). Built-in protocol implementations remain unaffected, leaving custom applications without input length checks most exposed. A patch PR remained unmerged as of November 23.

OpenSSL Discloses Heap Buffer Overflow Flaw CVE-2026-121481 in Base64 Encoding Function
AI-generated concept illustration; not an event photograph.

On November 18, the OpenSSL Project disclosed security vulnerability CVE-2026-121481 in its Base64 encoding function EVP_EncodeBlock(). When input data length approaches the integer limit INT_MAX (approximately 2GB), output length calculations can trigger an integer overflow, causing data to write beyond caller-allocated buffers and leading to memory corruption or crashes. Affected versions include OpenSSL 4.0.0 through 4.0.3 and 4.1.0. Severity evaluations diverge among databases: the GitHub Advisory Database assigned a CVSS score of 9.8, whereas NVD and CVE databases rated it at 5.9. The latter noted that no direct attack vector has been identified yet, primarily because OpenSSL's built-in implementations of TLS, QUIC, and CMS do not process such massive encoding payloads, and command-line tools cannot easily trigger the issue. Practical risk primarily threatens custom applications that pass externally controlled data without validating input lengths. A fix PR has been submitted on GitHub but remained unmerged into the main branch as of November 23.

Key takeaways

  • OpenSSL disclosed CVE-2026-121481 on November 18; EVP_EncodeBlock() risks integer and heap buffer overflows on ~2GB inputs, affecting versions 4.0.0–4.0.3 and 4.1.0.
  • Severity scores diverge, with GitHub rating the flaw CVSS 9.8, while NVD and CVE databases assigned 5.9 due to high trigger prerequisites.
  • Standard TLS, QUIC, and CMS implementations avoid handling 2GB payloads; risks primarily affect custom software lacking input size checks.
  • A patch PR was submitted on GitHub, though as of November 23 it had not yet been merged into the main branch.

Source:iThome Read the original ↗

Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.

← All articles