InfraRunBook
    Back to articles

    CVE-2026-121481 and CVE-2026-107494: OpenSSL EVP_EncodeBlock overflow and QUIC memory DoS - affected versions and fix

    CVE Advisories
    Published: Nov 19, 2026
    Updated: Nov 19, 2026

    Two critical-rated OpenSSL flaws: a buffer overflow in EVP_EncodeBlock() (4.0 and 4.1 branches) and an unbounded RETIRE_CONNECTION_ID queue in the QUIC stack (3.5, 4.0, 4.1). Upgrade to 4.1.1, 4.0.4 or 3.5.10 or later, depending on your branch.

    CVE-2026-121481 and CVE-2026-107494: OpenSSL EVP_EncodeBlock overflow and QUIC memory DoS - affected versions and fix

    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

    1. Find the OpenSSL version on each host. Run:
      openssl version -a
    2. Compare it to the ranges above. For example, 4.0.3, 4.1.0 and 3.5.9 are all in range.
    3. 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.
    4. 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.
    5. 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

    1. 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.
    2. Restart services. A running process keeps the old library in memory. Restart every service that uses OpenSSL after the upgrade.
    3. Rebuild bundled copies. Applications that statically link OpenSSL need a new build or a vendor update.
    4. Verify. Run
      openssl version
      again. Confirm the services loaded the new library after the restart.
    5. 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

    Frequently Asked Questions

    Is CVE-2026-121481 or CVE-2026-107494 exploited in the wild?

    No. Neither CVE is listed in CISA's Known Exploited Vulnerabilities catalog.

    Which OpenSSL versions are affected?

    CVE-2026-121481 affects 4.0.0 before 4.0.4 and 4.1.0 before 4.1.1. CVE-2026-107494 affects 3.5.0 before 3.5.10, 4.0.0 before 4.0.4 and 4.1.0 before 4.1.1.

    Which versions fix these flaws?

    The first versions outside the affected ranges are 3.5.10, 4.0.4 and 4.1.1. The CVE record has no explicit solution section, so confirm in the OpenSSL release notes.

    Am I affected by CVE-2026-107494 if I do not use QUIC?

    The flaw is in OpenSSL's QUIC stack. If nothing in your environment uses OpenSSL's QUIC support, it is unlikely to be reachable. Still plan to upgrade.

    Is there a workaround?

    None is listed in the record. Limiting exposure of QUIC endpoints, setting memory limits and restricting input sizes can reduce risk until you patch.

    Will the fix for EVP_EncodeBlock change how my code behaves?

    The function can now return -1 for invalid input. Make sure any code calling it checks the return value and does not cast it directly to an unsigned type.

    Related Articles

    CVE-2026-123903: VMware vCenter Server authentication bypass - affected versions and fix

    CVE-2026-123903 is a critical (CVSS 9.8) authentication bypass in the VMware Directory Service used by VMware vCenter Server. Broadcom lists fixed releases for vCenter 9.1, 9.0 and 8.0, VMware Cloud Foundation 5.x and the Telco Cloud products.

    CVE-2026-123910, CVE-2026-123911, CVE-2026-123912: VMware ESX critical I/O filter and XHCI flaws - affected versions and fix

    Broadcom disclosed three critical VMware ESX flaws: two in the I/O filter service (CVSS 9.8, network-reachable, no authentication) and one in the XHCI USB controller (CVSS 9.3). Fixed builds are available for ESX 9.1, 9.0 and 8.0, VCF 5.x and Telco Cloud Platform.

    CVE-2026-136412: OpenResty stream-lua-nginx-module use-after-free via receiveuntil() - affected versions and fix

    CVE-2026-136412 is a use-after-free in OpenResty stream-lua-nginx-module before 0.0.20rc4. A garbage-collected receiveuntil() iterator can leave a stale pointer that crashes or corrupts the nginx worker. Upgrade to 0.0.20rc4 or later.

    CVE-2026-123172: SolarWinds Serv-U privilege escalation to root on Linux - affected versions and fix

    CVE-2026-123172 is a privilege escalation flaw in SolarWinds Serv-U 2026.3 and earlier. It can lead to root on Linux installs, and the risk is lower on Windows. SolarWinds fixed it in Serv-U 2026.4.

    CVE-2026-82321 and 7 more: SolarWinds Serv-U privilege escalation flaws - affected 2026.3 and below, fixed in 2026.4

    SolarWinds disclosed eight privilege escalation flaws in Serv-U 2026.3 and earlier. Each lets a domain administrator or higher gain more access. SolarWinds fixed all eight in Serv-U 2026.4. No exploitation is known.

    CVE-2026-134624: N-able MailAssure (SpamExperts) SSRF in relay LDAP sync check - affected versions and fix

    CVE-2026-134624 is a server-side request forgery flaw in N-able MailAssure (SpamExperts) before 20261121.1943. An authenticated API user can make the server probe internal hosts and ports and send crafted data to internal services. It is listed in CISA KEV.