How To

OpenSSL 4.1.1 Fixes 16 CVEs: Who Is Affected and How to Patch

On December 1, 2026, the OpenSSL project shipped OpenSSL 4.1.1, 4.0.4 and 3.5.10, fixing 16 CVEs across the three supported branches. None of them is rated High. The worst sits at Moderate, and it lands only on the 4.x branches: an Encrypted Client Hello (ECH) bypass, a heap overflow in ASN.1 re-encoding, and a ClientHello memory growth bug that hits 4.x servers in their default configuration.

Original content from computingforgeeks.com - post 201267

That does not make the 3.5 LTS branch safe to ignore. It picks up 13 of the 16 fixes, and it’s the branch Ubuntu 26.04 LTS and Rocky Linux 10 really ship. This guide maps every CVE to the release that fixes it, shows how to tell which OpenSSL your services load, and covers both ways out: the distro package or a source build into /opt. All of it was tested in December 2026 on Ubuntu 26.04.1 and on Rocky Linux 10 with SELinux enforcing, so no step turns a control off to get a patch in.

What the December 2026 releases fix

The short answer: upgrade to 4.1.1 on the 4.1 branch, 4.0.4 on 4.0, or 3.5.10 on 3.5. Those are the minimum safe versions for every supported branch. The GitHub release notes for OpenSSL 4.1.1 list 16 CVEs and state that the most severe one is Moderate. The 4.0.4 notes list the same 16. The 3.5.10 notes list 13 and cap the severity at Low.

Twelve of the 16 were pre-announced in three batches, on November 10, 17 and 24, and each already has an entry on OpenSSL’s vulnerabilities pages, all rated Low. The other four were disclosed in the December 1 security advisory: three Moderate bugs that only reach 4.1 and 4.0, and one Low AES-SIV bug that reaches all three supported branches and the premium-only 3.0 line.

The release also matters for what it says about the older branches. Each of these conditions holds on December 1.

  • OpenSSL 3.0 is out of public support; its 3.0.24 fix is for premium support customers only.
  • OpenSSL 1.1.1 and 1.0.2 get fixes (1.1.1zk, 1.0.2zt) only through premium support, and only for the CVEs that reach them.
  • OpenSSL 3.1, 3.2, 3.3, 3.4 and 3.6 are out of support, and the November 24 advisory says they were not analysed at all.

If a host runs 3.6, treat “not analysed” as “assume affected” and move it to 3.5.10 or 4.1.1. We found no 3.6.6 tag on OpenSSL’s GitHub releases page, so do not wait for one. A branch nobody analysed is a branch nobody will patch.

The three Moderate CVEs in ECH and ASN.1

The three bugs that raise this release to Moderate were held back until release day and published in the December 1 advisory. For each one, OpenSSL says 4.1 and 4.0 are vulnerable and states that “OpenSSL 3.5, 3.0, 1.1.1 and 1.0.2 are not affected”, which is why 3.5.10’s notes cap at Low.

  • CVE-2026-120665 lets an attacker impersonate servers to a TLS client that uses ECH.
  • CVE-2026-120667 crashes an application that parses a crafted DER object above 4 GiB.
  • CVE-2026-123780 lets an unauthenticated peer exhaust a TLS or DTLS server’s memory.

Only the first one depends on ECH being in use. OpenSSL says it hits TLS clients configured for ECH and an attacker who can forge their DNS responses, so servers and clients sending only GREASE ECH are safe. The ASN.1 overflow needs a 4 GiB input that TLS and the PEM and BIO readers never accept, which leaves custom DER parsers.

CVE-2026-123780 is the one to act on. The ECH transcript code runs for every ClientHello, “whether or not the server has an ECH configuration”, and OpenSSL says servers in their default configuration are affected, TLS 1.2 only servers included. Turning ECH off does not help. Any TLS or DTLS server linked against 4.0 or 4.1 needs 4.0.4 or 4.1.1, and there is no configuration workaround.

CVE matrix by OpenSSL branch

Every cell below comes from OpenSSL itself: the severity and “Affected” lines on the OpenSSL vulnerabilities page and the December 1 advisory. A version in a cell is the first fixed release on that branch. “Not affected” is OpenSSL’s own wording, and “Not listed” means the CVE entry names no affected range on that branch.

CVEIssueSeverity4.14.03.53.0
CVE-2026-120665ECH server name check bypass after HelloRetryRequest (ECH clients)Moderate4.1.14.0.4Not affectedNot affected
CVE-2026-120667Heap overflow re-encoding cached ASN.1 items above INT_MAXModerate4.1.14.0.4Not affectedNot affected
CVE-2026-123780Unbounded ECH transcript buffer growth (default servers)Moderate4.1.14.0.4Not affectedNot affected
CVE-2026-120666AES-SIV ignores AAD supplied after plaintextLow4.1.14.0.43.5.103.0.24 (premium)
CVE-2026-84785Unbounded out-of-order fragment reassembly in QUIC streamsLow4.1.14.0.43.5.10Not listed
CVE-2026-107494Unbounded QUIC RETIRE_CONNECTION_ID send queueLow4.1.14.0.43.5.10Not listed
CVE-2026-124709QUIC server keeps memory for rejected streamsLow4.1.14.0.43.5.10Not listed
CVE-2026-88822QUIC uses uninitialized stack bytes in peer detectionLow4.1.14.0.43.5.10Not listed
CVE-2026-95691Retransmitted QUIC CRYPTO frames: use-after-free in the QUIC clientLow4.1.14.0.43.5.10Not listed
CVE-2026-121482Relative CRL distribution point names rebuilt per CRLLow4.1.14.0.43.5.10Not listed
CVE-2026-84786NULL dereference in non-SMTP DANE clientsLow4.1.14.0.43.5.103.0.24 (premium)
CVE-2026-107493Use-after-free in PEM_X509_INFO_read_bio_ex()Low4.1.14.0.43.5.103.0.24 (premium)
CVE-2026-107496Infinite loop in CMS_encrypt() with an EC group order of 1Low4.1.14.0.43.5.103.0.24 (premium)
CVE-2026-35190OOB read in TLS 1.3 key share with the Suite B flagLow4.1.14.0.43.5.10Not listed
CVE-2026-88823AES-GCM-SIV AAD forgery after a zero-length AAD updateLow4.1.14.0.43.5.10Not listed
CVE-2026-95692AES-GCM-SIV OOB read and wrong IV length handlingLow4.1.14.0.43.5.10Not listed

Read the Low rows by feature, not by count. Five of them sit in OpenSSL’s own QUIC stack, which only matters to software built on OpenSSL QUIC, and CVE-2026-95691 is a client bug triggered by a malicious server. The CRL, DANE, CMS, PEM and SIV bugs need an application that calls those APIs or turns on CRL checking. CVE-2026-35190 needs the Suite B flag set with SSL_CTX_set_cert_flags(), which almost nobody does. For a stock nginx or Apache doing plain TLS, the practical exposure is small, but a package update costs one restart, so patch anyway.

The OpenSSL your services actually load

Your exposure is decided by the libssl a running process mapped when it started, not by the openssl command on your path. Start with the version check, which prints both the CLI build and the library it loaded. A mismatch between the two is your first warning sign.

openssl version

Our Ubuntu 26.04 host reported the 3.5 branch, from January 2026, with the CLI and library in agreement.

OpenSSL 3.5.5 27 Jan 2026 (Library: OpenSSL 3.5.5 27 Jan 2026)

Distros backport fixes without changing the upstream number, so “3.5.5” alone does not tell you what is patched. The package release (3.5.5-1ubuntu3.7, 3.5.9-1.el10_3) and its changelog do, and the distro sections below check both. Next, confirm which library your TLS daemons link, starting with nginx.

ldd $(command -v nginx) | grep -E "libssl|libcrypto"

Both resolve to the system copy, so the distro package update covers nginx. A path under /opt or /usr/local here would mean a private build you have to patch by hand.

	libssl.so.3 => /usr/lib/x86_64-linux-gnu/libssl.so.3 (0x0000748fa1a05000)
	libcrypto.so.3 => /usr/lib/x86_64-linux-gnu/libcrypto.so.3 (0x0000748fa1200000)

The list of processes holding libssl open is the restart list for after you patch. Anything on it keeps the old library in memory until it restarts, whatever the package database says.

sudo grep -l libssl.so /proc/[0-9]*/maps 2>/dev/null | cut -d/ -f3 | xargs -r ps -o pid=,comm= -p

On a fresh Ubuntu 26.04 VM with nginx installed, four system services plus the nginx master and its workers had it mapped.

ldd on nginx and running processes that map libssl.so.3 on Ubuntu

systemd-resolved and PackageKit show up because they link libssl too, which is why a reboot is the simplest way to be sure after a library update. One more blind spot: container images, statically linked tools and vendor appliances carry their own OpenSSL, and no host package update reaches them. Run the same version check inside every image you ship and rebuild those images on a patched base. Runtimes that wrap OpenSSL carry their own flaws on top, such as the Python ssl SNI callback CVE, which a library update alone does not close.

Ubuntu 26.04 package status

Ubuntu 26.04 LTS ships OpenSSL 3.5.5 with Ubuntu’s own security patches on top, so it is exposed to the 13 CVEs fixed in 3.5.10 until a new package lands. Check the installed and candidate versions first. If the two match, apt has nothing newer to give you.

apt-cache policy libssl3t64

On December 1 the installed package matched the newest in both the updates and security pockets, which means no fix has been published yet.

libssl3t64:
  Installed: 3.5.5-1ubuntu3.7
  Candidate: 3.5.5-1ubuntu3.7
  Version table:
 *** 3.5.5-1ubuntu3.7 500
        500 http://us-central1.gce.archive.ubuntu.com/ubuntu resolute-updates/main amd64v3 Packages
        500 http://security.ubuntu.com/ubuntu resolute-security/main amd64v3 Packages
        100 /var/lib/dpkg/status
     3.5.5-1ubuntu3 500
        500 http://us-central1.gce.archive.ubuntu.com/ubuntu resolute/main amd64v3 Packages

The capture below shows the same result with the CLI and library package names side by side. Both carry the same release string, so neither is ahead of the other.

openssl version and apt-cache policy on Ubuntu 26.04 showing 3.5.5-1ubuntu3.7

Ubuntu’s changelog is the proof of what’s patched, because every security upload names its CVE IDs. Grep it for the 13 IDs that 3.5.10 fixes. An empty result means none of them is in your package yet.

apt changelog openssl 2>/dev/null | grep -E "CVE-2026-(84785|84786|107493|107494|107496|120666|121482|124709|35190|88822|88823|95691|95692)"

Our grep exited 1 with no output. The changelog is not empty, though. 133 of its lines mention a CVE-2026 ID, and its newest entry is the September 30 security upload.

apt changelog openssl on Ubuntu 26.04 with no match for the December 2026 CVE IDs

When Ubuntu publishes the fix, it reaches you through the normal security pocket. The targeted upgrade below is safe to run now and again later, because it touches nothing but OpenSSL.

sudo apt update
sudo apt install --only-upgrade -y openssl libssl3t64

Today it reports that both packages are already the newest version. Expect that line to change once the security pocket carries the fix.

openssl is already the newest version (3.5.5-1ubuntu3.7).
libssl3t64 is already the newest version (3.5.5-1ubuntu3.7).
Solving dependencies...
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

Once a newer version installs, rerun the changelog grep and expect it to print the IDs, then restart everything on the process list from the previous section. If you track Ubuntu’s own triage, its CVE page for CVE-2026-84785 rated it Medium priority and listed openssl on 26.04 as “Needs evaluation” when we read it.

Rocky Linux 10 package status and errata

Rocky Linux 10 follows RHEL 10, which rebased to OpenSSL 3.5.9 in October, so it is on the same 3.5 branch and needs the same 13 fixes. The GCP Rocky 10 image we used did not even include the openssl command, only the library. Query both packages.

rpm -q openssl openssl-libs

The library was a point release behind the repositories as well, because the image predates the October rebase.

package openssl is not installed
openssl-libs-3.5.8-2.el10_2.x86_64

Installing the CLI pulled openssl-libs and the FIPS provider up to 3.5.9-1.el10_3 in the same transaction. That’s worth knowing on a cloud image that has not been updated since boot: the version you audit may already be older than what the repo offers.

sudo dnf install -y openssl

The package version, the CLI output and the top changelog entry tell the rest of the story. Upstream 3.5.9 is dated September 29, and Red Hat’s package rebase is dated October 9.

OpenSSL 3.5.9 package version and changelog on Rocky Linux 10

Do not rely on the RPM changelog the way you would on Ubuntu’s. Red Hat writes Jira IDs there instead of CVE numbers, so the newest entry reads “Rebase to OpenSSL 3.5.9, Resolves: RHEL-213740”, and a grep for CVE IDs finds only 5 in the whole history:

rpm -q --changelog openssl-libs | head -3

The output names the rebase, its date and the Jira ticket, and nothing about CVEs.

* Fri Oct 09 2026 Pavol Zacik <[email protected]> - 1:3.5.9-1
- Rebase to OpenSSL 3.5.9
  Resolves: RHEL-213740

The errata data is the reliable record on Rocky. dnf updateinfo lists every security advisory already applied to the host, with its severity.

sudo dnf updateinfo list --installed 2>/dev/null | grep -i openssl

Seven OpenSSL advisories have reached Rocky 10 so far, three of them Important, and the newest is RLSA-2026:98588 for 3.5.9.

dnf updateinfo list of installed OpenSSL errata on Rocky Linux 10

To see whether a fix for the December CVEs is waiting, ask for pending security advisories only. When the RLSA arrives, this is the line that shows it.

sudo dnf updateinfo list --security 2>/dev/null | grep -i openssl

It printed nothing on December 1, and dnf repoquery confirmed 3.5.9-1.el10_3 as the newest build in the repositories. Apply the update with a glob so the library, the CLI and the FIPS provider move together:

sudo dnf upgrade -y "openssl*"

For now, dnf has nothing to apply. Run it again once the RLSA shows up in the security list.

Dependencies resolved.
Nothing to do.
Complete!

Red Hat’s CVE page for CVE-2026-84785 rates it Low and marks openssl on RHEL 10 and RHEL 9 as Affected, RHEL 8 as Not affected, with no RHEL erratum yet. Rocky rebuilds Red Hat’s errata, so the RLSA usually follows shortly after the RHSA. The dnf package manager guide covers the updateinfo filters in more depth if you script this check across a fleet.

Source builds into /opt, with two traps

Building upstream OpenSSL is the right move for one application you compile yourself, not a replacement for the system library. Never install it over /usr: the distro’s packages, SSH and the package manager itself depend on the system copy. Keep it in its own prefix under /opt, and link only the application that needs it. Install the build tools first. On Ubuntu:

sudo apt install -y build-essential perl zlib1g-dev

On Rocky Linux, perl-core provides the modules OpenSSL’s Configure script needs:

sudo dnf install -y gcc make perl-core zlib-devel

Set the version once, download the tarball from the GitHub release and verify its SHA-256 before you unpack anything. The digests below are the ones GitHub publishes for each release asset: cb6a1080edd2f71fd0cf785d57df479fe67998aa166151f407cb50e50db8fc62 for 4.1.1, 88224ea8adb1e1802465e2c9095decc7ab8b44b55b9bcf734745bfc2acfa4cd2 for 4.0.4 and 809c73022dfbda5dc7c6c6908cb838d59cbbace61c02f4e6b5cbf0b3c456ca03 for 3.5.10.

export OSSL_VER="4.1.1" # pin: fixed release for the December 2026 CVEs #https://github.com/openssl/openssl/releases
export OSSL_SHA="cb6a1080edd2f71fd0cf785d57df479fe67998aa166151f407cb50e50db8fc62"
curl -fsSLO "https://github.com/openssl/openssl/releases/download/openssl-${OSSL_VER}/openssl-${OSSL_VER}.tar.gz"

Check the tarball against the pinned digest before anything else touches it. Two spaces separate the hash and the file name, which is the format sha256sum -c expects.

echo "${OSSL_SHA}  openssl-${OSSL_VER}.tar.gz" | sha256sum -c -

Anything other than OK means a bad or tampered download, so stop there:

openssl-4.1.1.tar.gz: OK

Our first build used the usual shared Configure line with only a prefix, and it broke in two different ways on the two distros. On Ubuntu, the 4.1.1 binary would not start. OpenSSL 4 uses a new soname, libssl.so.4, and the dynamic loader doesn’t look in /opt, so it exits 127 and ldd shows both libraries as “not found”:

OpenSSL 4.1.1 built into /opt failing with libssl.so.4 not found

That failure is loud, which makes it the safe one. The 3.5.10 build on Rocky failed quietly. It shares the libssl.so.3 soname with the system package, so the loader happily picked /usr/lib64 instead, and the new binary ran the old, unpatched library: “OpenSSL 3.5.10 1 Dec 2026 (Library: OpenSSL 3.5.9 29 Sep 2026)”. Anything linked that way looks patched in a version banner while still running 3.5.9 code.

Both problems have the same fix: bake the library path into the binaries with an rpath at Configure time. Unpack, configure with the extra linker flag, build and install:

tar xzf "openssl-${OSSL_VER}.tar.gz" && cd "openssl-${OSSL_VER}"
./Configure --prefix=/opt/openssl-${OSSL_VER} --openssldir=/opt/openssl-${OSSL_VER}/ssl --libdir=lib shared zlib -Wl,-rpath,/opt/openssl-${OSSL_VER}/lib
make -j$(nproc)
sudo make install_sw install_ssldirs

The build took 317 seconds for 4.1.1 on a 4 vCPU Ubuntu VM and 263 seconds for 3.5.10 on the same size Rocky VM. install_sw install_ssldirs skips the man pages, which saves a few minutes and nothing you need. Now confirm the binary and the library agree, and that the library resolves under /opt:

/opt/openssl-${OSSL_VER}/bin/openssl version
ldd /opt/openssl-${OSSL_VER}/bin/openssl | grep -E "libssl|libcrypto"

With the rpath in place, 4.1.1 loads its own libssl.so.4:

OpenSSL 4.1.1 1 Dec 2026 (Library: OpenSSL 4.1.1 1 Dec 2026)
	libssl.so.4 => /opt/openssl-4.1.1/lib/libssl.so.4 (0x0000735cde8e0000)
	libcrypto.so.4 => /opt/openssl-4.1.1/lib/libcrypto.so.4 (0x0000735cde200000)

On Rocky the 3.5.10 rebuild reports the matching library, and the system openssl stays on 3.5.9, untouched, which is what you want:

OpenSSL 3.5.10 loading the system 3.5.9 library until rebuilt with rpath on Rocky Linux

The second trap shows up the first time the new build makes a TLS connection. An /opt install ships an empty ssl/certs directory, so openssl s_client connects but fails verification with verify error:num=20:unable to get local issuer certificate. Your application would hit the same error. Point the new build at the distro’s CA store instead of copying certificates that will go stale:

sudo rmdir /opt/openssl-${OSSL_VER}/ssl/certs && sudo ln -s /etc/ssl/certs /opt/openssl-${OSSL_VER}/ssl/certs

That target is Ubuntu’s hashed CA directory, where we ran this check. RHEL-family systems lay out their trust store under /etc/pki differently, so confirm the result with the same s_client test there. On Ubuntu the retest connects with a clean chain:

openssl s_client verify error 20 fixed by linking the system CA store

From here, build your application against /opt/openssl-${OSSL_VER} with the same rpath idea. The full walkthroughs for building a custom OpenSSL on Ubuntu and Debian and installing OpenSSL from source on Rocky and AlmaLinux cover linking nginx and other daemons against it. A source build is also a promise to rebuild it yourself for the next advisory, because no package manager will.

Interim controls while packages lag

Until Ubuntu and Rocky ship their builds, the QUIC bugs are the easiest to fence off. They only matter where a service speaks HTTP/3 or another QUIC protocol through OpenSSL, and that traffic arrives on UDP, usually port 443. If you do not serve HTTP/3, nothing should be listening there, and the server-side QUIC bugs (CVE-2026-84785, CVE-2026-124709) have no way in.

Closing inbound UDP does nothing for the client side, though. CVE-2026-95691 is a use-after-free in the OpenSSL QUIC client that a malicious server triggers, and CVE-2026-107494 can be driven by a malicious peer in either direction. Any tool that makes outbound QUIC connections through OpenSSL stays exposed until its library is patched.

If a UDP listener on 443 does exist and you don’t need it, turn HTTP/3 off in the server config and close UDP 443 at the host firewall until the patched package lands. On Rocky that is a firewalld rule.

The other Low CVEs follow features, so the control is to know whether you use them. CRL checking, DANE in a client, CMS encryption and the SIV cipher modes all have to be called by an application. Our OpenSSL cheat sheet covers the openssl cms and s_client invocations that exercise those paths if you want to test a build. The Moderate trio has no such workaround on 4.x. CVE-2026-123780 reaches default servers whether or not ECH is configured, so on 4.0 and 4.1 the only control is the upgrade.

Distro patch status as of December 1, 2026

Every row below was read from the vendor page or a lab host on the evening of December 1, 2026 (East Africa Time). Treat “pending” as a date-stamped fact, not a forecast, and recheck it before you plan a maintenance window around it.

PlatformShipped packageVendor statusStatus on Dec 1, 2026
Ubuntu 26.04 LTSopenssl 3.5.5-1ubuntu3.7 (Sep 30, 2026)CVE-2026-84785: Medium priority, “Needs evaluation”Pending, no fixed package in resolute-security
Rocky Linux 10openssl 1:3.5.9-1.el10_3Follows RHEL 10Pending, no RLSA in updateinfo
RHEL 10openssl 3.5.9 rebaseCVE-2026-84785: Low, AffectedPending, no RHSA
RHEL 9See Red Hat’s CVE pageCVE-2026-84785: Low, AffectedPending, no RHSA
RHEL 8See Red Hat’s CVE pageCVE-2026-84785: Not affectedNo action for that CVE
Upstream source4.1.1, 4.0.4, 3.5.10Released Dec 1, 2026Available now

Red Hat had no entries yet for any of the four release-day CVEs when we checked. Per OpenSSL, 3.5 is not affected by the Moderate trio, but CVE-2026-120666 does reach 3.5, so expect it in the next RHEL and Ubuntu builds alongside the twelve pre-announced fixes. We’ll update this table when Ubuntu and Rocky publish their fixed builds. The pattern from the Apache CVE-2026-119618 patch on Rocky holds here too: the errata ID, not the upstream version number, is what proves a RHEL-family host is fixed.

OpenSSL patch audit checklist

Run this per host once the distro packages land, or today for any service you build against upstream OpenSSL:

  1. Every host on the 4.1, 4.0 or 3.5 branch runs 4.1.1, 4.0.4, 3.5.10 or a distro build whose changelog or errata names the December CVEs.
  2. On Ubuntu, apt changelog openssl prints the 13 CVE IDs from the 3.5.10 list.
  3. On Rocky, dnf updateinfo list --installed shows an OpenSSL RLSA newer than RLSA-2026:98588.
  4. No line in /proc/*/maps shows libssl marked (deleted) after the update, because every service on the restart list was restarted or the host rebooted.
  5. No host runs OpenSSL 3.6 or another unanalysed branch.
  6. Every /opt build reports the same version for the binary and its library, and ldd resolves both libraries under /opt.
  7. Every /opt build verifies a public certificate chain without verify error:num=20.
  8. UDP 443 is closed on hosts that don’t serve HTTP/3.
  9. Container images that bundle OpenSSL were rebuilt on a patched base and redeployed.

Item four is the one teams skip most often. A patched package on disk does nothing for a daemon that loaded the old library last month. Close the audit with a reboot, or rerun the /proc/*/maps grep with the pattern libssl.*(deleted) and expect no processes, the same way the Apache CVE-2026-56154 fix needed a restart before it counted.

Keep reading

Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs Security Java4Shell (CVE-2026-114938): Find and Patch Vulnerable JVMs UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 Security UFW Firewall Commands with Examples on Ubuntu 26.04 / 24.04 nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch Security nginx HTTP/2 RCE CVE-2026-123007: Check, Disable HTTP/2, Patch WP Rocket CVE-2026-125812: Check, Patch and Hunt Planted Files Security WP Rocket CVE-2026-125812: Check, Patch and Hunt Planted Files Enable Post-Quantum TLS in Nginx, Apache, HAProxy and OpenSSH Security Enable Post-Quantum TLS in Nginx, Apache, HAProxy and OpenSSH Getting Started with Penetration Testing on ParrotOS Security Getting Started with Penetration Testing on ParrotOS

Leave a Comment

Press ESC to close