At a glance
- CVE ID(s): CVE-2026-121481; CVE-2026-107494
- Severity: CVE-2026-121481: CVSS 9.8 CRITICAL, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. CVE-2026-107494: CVSS 9.1 CRITICAL, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H. Both scores come from CISA-ADP.
- Vendor / product: OpenSSL / OpenSSL
- Affected versions: CVE-2026-121481: 4.0.0 up to (not including) 4.0.4, and 4.1.0 up to (not including) 4.1.1. CVE-2026-107494: 3.5.0 up to (not including) 3.5.10, 4.0.0 up to (not including) 4.0.4, and 4.1.0 up to (not including) 4.1.1.
- Fixed / patched versions: CVE-2026-121481: 4.0.4 and 4.1.1 (the first versions outside the affected ranges). CVE-2026-107494: 3.5.10, 4.0.4 and 4.1.1 (same basis).
- Exploited in the wild: No known exploitation (not listed in CISA KEV)
- Attack vector: Network, no authentication, no user interaction (per the CVSS vectors). Whether you are exposed depends on how your application uses OpenSSL.
- Published by: openssl (CNA), both published 2026-11-18
- Official advisory: The record lists only the fix pull requests: PR 33652 (CVE-2026-121481) and PR 33544 (CVE-2026-107494). A full OpenSSL security advisory is not included in the source material - check the vendor page.
What is this vulnerability?
These are two separate bugs in OpenSSL. Both were published on the same day.
CVE-2026-121481 is a buffer overflow in
EVP_EncodeBlock(), the base64 encoding function. If the input length is close to
INT_MAX, the calculation of the encoded output size can overflow. The function then writes past the end of the output buffer supplied by the caller.
The fix pull request describes the change. The function now returns -1 for invalid input. That covers NULL buffers, negative lengths, and lengths whose encoded size does not fit in an int. The same pull request adds a similar guard to
EVP_DecodeBlock()and fixes a length check in the
base64encode()function in
http_client.c. The PR author notes the pattern is similar to CVE-2021-23840.
CVE-2026-107494 is in the QUIC stack. The stack queues a RETIRE_CONNECTION_ID frame even for retransmitted NEW_CONNECTION_ID frames. A remote malicious QUIC peer can use this to queue an unlimited number of RETIRE_CONNECTION_ID frames. The fix pull request title calls this an unbounded backlog and a memory DoS. It also says an earlier fix, for CVE-2026-84784, was incomplete. The fix makes the stack ignore NEW_CONNECTION_ID frames that are retransmissions.
How does it affect you?
CVE-2026-121481. The CVSS vector rates confidentiality, integrity and availability impact all as high. A write past the end of a buffer can corrupt memory. The practical result depends on the application. The input has to be very large, close to 2 GiB. So the realistic risk depends on whether your software passes untrusted, very large data into this function. The PR author says a command-line path exists using a very large proxy password in
openssl s_client, supplied through an environment variable. That path needs control of the local command environment. Do not treat it as a remote attack on its own.
CVE-2026-107494. The vector rates confidentiality and availability impact as high and integrity as none. The advisory text describes the effect as unbounded memory growth from queued frames. In practice, expect a QUIC endpoint to use more and more memory until it slows down or is killed. A remote, unauthenticated peer can trigger this. It only matters if your software uses OpenSSL's QUIC stack.
Neither CVE is reported as exploited in the wild. No public exploitation is listed in CISA KEV.
Who is affected?
- OpenSSL 4.1.0 (before 4.1.1): affected by both CVEs.
- OpenSSL 4.0.0 to 4.0.3: affected by both CVEs.
- OpenSSL 3.5.0 to 3.5.9: affected by CVE-2026-107494 only. The record does not list 3.5 as affected by CVE-2026-121481.
The record's default status is unaffected, so versions outside these ranges are not listed as affected. Other OpenSSL branches are not mentioned in the source material. Check the vendor page if you run something else.
Remember that OpenSSL is often bundled. Web servers, proxies, VPN software, language runtimes and appliances may carry their own copy. A system-wide package update may not cover those.
How to check if you are vulnerable
- Find the OpenSSL version on each host. Run:
openssl version -a - Compare it to the ranges above. For example, 4.0.3, 4.1.0 and 3.5.9 are all in range.
- Find applications that ship or statically link their own OpenSSL. Check vendor documentation or release notes for the bundled version. Also check which shared library each service has loaded.
- For CVE-2026-107494, work out whether any service uses OpenSSL's QUIC support, as a client or server. If nothing in your environment uses QUIC through OpenSSL, that CVE is unlikely to be reachable.
- For CVE-2026-121481, ask whether any in-house or third-party code calls
EVP_EncodeBlock()
with data whose size an outside party can control.
Note that a distribution may backport fixes without changing the version number. If you use distribution packages, check the distribution's security notice for these CVE IDs. The source material does not cover this.
How to fix and recover
- Upgrade. Move to OpenSSL 4.1.1 or later on the 4.1 branch, 4.0.4 or later on the 4.0 branch, or 3.5.10 or later on the 3.5 branch. These are the first versions outside the affected ranges in the CVE record. Confirm against the OpenSSL release notes, since the record itself has no solution section.
- Restart services. A running process keeps the old library in memory. Restart every service that uses OpenSSL after the upgrade.
- Rebuild bundled copies. Applications that statically link OpenSSL need a new build or a vendor update.
- Verify. Run
openssl version
again. Confirm the services loaded the new library after the restart. - Check callers. The fix for CVE-2026-121481 makes
EVP_EncodeBlock()
able to return -1. Reviewers on the pull request raised concern about callers that do not check for errors. If you maintain code that calls this function, make sure it checks the return value and does not cast it straight to an unsigned type.
Compromise is not reported for either CVE. If you ran an affected QUIC service and saw memory exhaustion or restarts, review service logs and restart the service. For a possible memory-corruption crash around base64 encoding, review crash logs and core dumps. The source material does not say that keys or credentials leak, so key rotation is not indicated by it. Rotate only if your own investigation finds signs of compromise.
Workarounds and mitigations
The advisory text lists no workarounds. These general steps may reduce exposure until you patch. They are not vendor-endorsed fixes.
- For CVE-2026-107494, if you do not need QUIC, do not expose QUIC endpoints. Where possible, restrict who can reach them, for example with firewall rules on the UDP port your service uses.
- Set memory limits on services that handle QUIC traffic, so a runaway process is restarted instead of exhausting the host.
- For CVE-2026-121481, limit the size of data your applications accept before it reaches base64 encoding.
- Do not let untrusted users set very large values in environment variables or command arguments passed to OpenSSL tools.
What to monitor
- Memory use of processes that handle QUIC. Look for steady growth with no matching rise in traffic.
- Unexpected restarts, out-of-memory kills and crashes of services that link OpenSSL.
- Unusual connection patterns from single remote QUIC peers.
- Crashes in code paths that do base64 encoding, especially with very large inputs.
- Your distribution and application vendors' security notices for these CVE IDs.
- The CISA KEV catalog. Both CVEs are currently not listed there. That can change.
References
- https://github.com/openssl/openssl/pull/33652 - fix for CVE-2026-121481
- https://github.com/openssl/openssl/pull/33544 - fix for CVE-2026-107494
