Integer Overflow in EVP_EncodeBlock() with Very Large Input Lengths
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OpenSSL | OpenSSL | unaffected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Hardened Images | |||
| chunkah-main-0.7.1-1.hum1 | cpe:/a:redhat:hummingbird:1 | RHSA-2026:79719 | 2026-10-08T00:00:00Z |
| rust-bootupd-main-0.3.2-1.1.hum1 | cpe:/a:redhat:hummingbird:1 | RHSA-2026:80572 | 2026-10-12T00:00:00Z |
| python-cryptography-main-50.0.0-1.1.hum1 | cpe:/a:redhat:hummingbird:1 | RHSA-2026:81364 | 2026-10-12T00:00:00Z |
| ruby3-4-main-3.4.12-33.1.hum1 | cpe:/a:redhat:hummingbird:1 | RHSA-2026:88861 | 2026-10-23T00:00:00Z |
| ruby3-3-main-3.3.13-23.8.hum1 | cpe:/a:redhat:hummingbird:1 | RHSA-2026:88880 | 2026-10-24T00:00:00Z |
| openssl3-main-3.5.9-1.3.hum1 | cpe:/a:redhat:hummingbird:1 | RHSA-2026:99574 | 2026-11-12T00:00:00Z |
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Openssl | Openssl |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.462% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-122 | |
| Metrics |
cvssV3_1
|
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat
Redhat hummingbird |
|
| CPEs | cpe:/a:redhat:hummingbird:1 | |
| Vendors & Products |
Redhat
Redhat hummingbird |
|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-122 | |
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-680 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | 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 reading a proxy password from a file and on bignum sizes prevent it. An application that accepts an attacker-controlled length and forwards it to EVP_EncodeBlock() without its own bound check is exposed. The severity is Low because no attacker-controlled path to the overflow is known. The caller must already hold a buffer of about two gigabytes before the defect can be reached. FIPS impact: no The affected code is outside the FIPS module boundary. |
| Title | Integer Overflow in EVP_EncodeBlock() with Very Large Input Lengths | |
| Weaknesses | CWE-190 |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-122 | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-680 |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Potential Buffer Overflow in EVP_EncodeBlock with Large Input Length in OpenSSL | |
| Weaknesses | CWE-680 |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Potential Buffer Overflow in EVP_EncodeBlock with Large Input Length in OpenSSL | |
| Weaknesses | CWE-680 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openssl
Openssl openssl |
|
| Vendors & Products |
Openssl
Openssl openssl |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| References |
|