CVE-2026-42009
GnuTLS vulnerability analysis and mitigation

Overview

CVE-2026-42009 is a denial-of-service vulnerability in GnuTLS affecting its Datagram Transport Layer Security (DTLS) packet reordering logic. The flaw resides in the comparator function used to sort DTLS packets by sequence numbers, which fails to correctly handle packets with duplicate sequence numbers, violating qsort comparator contracts and leading to unstable ordering or undefined behavior. The vulnerability was reported on May 6, 2026, and publicly disclosed on May 18, 2026, affecting GNU GnuTLS (all versions prior to the patched release 3.8.13) as well as Red Hat Enterprise Linux 8, 9, and 10 distributions. It carries a CVSS v3.1 base score of 7.5 (High) (Github Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified as CWE-475 (Undefined Behavior for Input to API): the qsort-based comparator function in GnuTLS's DTLS reassembly code does not return 0 for packets with duplicate sequence numbers, violating the strict weak ordering contract required by qsort. This can result in undefined behavior in the C runtime's sort implementation, potentially causing memory corruption or process crashes. Additionally, packets with the same sequence number but differing handshake types were not discarded before sorting, compounding the instability. The fix involves returning 0 for duplicate sequence numbers to stabilize sorting, and discarding packets with matching sequence numbers but differing handshake types prior to the sort operation (Red Hat Bugzilla, Github Advisory). No authentication or user interaction is required; the attack vector is network-accessible DTLS endpoints.

Impact

Successful exploitation allows an unauthenticated remote attacker to crash or destabilize GnuTLS DTLS connections by sending specially crafted packets with duplicate sequence numbers, resulting in a denial of service. The impact is limited to availability — there is no confidentiality or integrity impact — but any service relying on GnuTLS for DTLS communication (e.g., VPN endpoints, DTLS-based application servers) could be rendered unavailable. Affected deployments include Red Hat Enterprise Linux 6 through 10, Red Hat OpenShift Container Platform 4.x, Red Hat Hardened Images, and any system using the upstream GnuTLS library (Github Advisory, Red Hat RHSA-2026:20611).

Exploitability

There is no public proof-of-concept exploit code and no evidence of active in-the-wild exploitation as of the time of this report (Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.22% (Feedly data) to 0.715% (GitHub Advisory Database), placing it in the 73rd percentile for exploitation probability within 30 days — moderate relative to other CVEs but with no confirmed weaponization. The attack requires no privileges or user interaction, lowering the barrier for exploitation once a target DTLS endpoint is identified.

Mitigation and workarounds

The primary remediation is to update GnuTLS to version 3.8.13 or later, which fixes the qsort comparator flaw in DTLS reassembly (Red Hat RHSA-2026:13274). Red Hat has issued security advisories for affected RHEL versions: RHSA-2026:20611 (RHEL 8, gnutls-3.6.16-8.el8_10.6), RHSA-2026:20612 (RHEL 9), and RHSA-2026:20613 (RHEL 10) (Red Hat RHSA-2026:20611). Patches are also available for Ubuntu (USN-8284-1), Debian (DLA-4595-1), openSUSE, SUSE, and Amazon Linux 2023. If immediate patching is not feasible, consider implementing network-level controls to restrict or monitor inbound DTLS traffic to exposed services as a temporary workaround.

Community reactions

The vulnerability was covered in cybersecurity news outlets in the context of the broader GnuTLS 3.8.13 release, which addressed 12 vulnerabilities simultaneously, drawing attention to the overall security posture of the library (CyberSecurityNews). The Hacker News weekly recap included CVE-2026-42009 among notable disclosures for the week of May 18, 2026. Community reaction has been measured, with the primary focus on patching given the straightforward denial-of-service nature and lack of active exploitation.

Additional resources


SourceThis report was generated using AI

Related GnuTLS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-5260HIGH8.2
  • GnuTLS logoGnuTLS
  • gnutls28
NoYesMay 26, 2026
CVE-2026-42013HIGH8.2
  • GnuTLS logoGnuTLS
  • gnutls-c++
NoYesMay 26, 2026
CVE-2026-42014MEDIUM6.6
  • GnuTLS logoGnuTLS
  • libgnutls30-hmac-32bit
NoYesJun 16, 2026
CVE-2026-42015MEDIUM5.3
  • GnuTLS logoGnuTLS
  • gnutls-c++-debuginfo
NoYesMay 26, 2026
CVE-2026-5419LOW3.7
  • GnuTLS logoGnuTLS
  • gnutls-utils
NoYesJun 01, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management