CVE-2026-33846
JSON

7.5high

Gnutls: gnutls: denial of service via heap buffer overflow in dtls handshake fragment reassembly

Severity
7.5high CVSS:3.1 by redhat
Exploit likelihood
1.37% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

A heap buffer overflow vulnerability exists in the DTLS handshake fragment reassembly logic of GnuTLS. The issue arises in merge_handshake_packet() where incoming handshake fragments are matched and merged based solely on handshake type, without validating that the message_length field remains consistent across all fragments of the same logical message. An attacker can exploit this by sending crafted DTLS fragments with conflicting message_length values, causing the implementation to allocate a buffer based on a smaller initial fragment and subsequently write beyond its bounds using larger, inconsistent fragments. Because the merge operation does not enforce proper bounds checking against the allocated buffer size, this results in an out-of-bounds write on the heap. The vulnerability is remotely exploitable without authentication via the DTLS handshake path and can lead to application crashes or potential memory corruption.

Affected

Product or packageVersionsReported by
gnutlsNot specified
Not affected: from 0:3.8.10-4.el10_2 before *, from 0:3.8.9-9.el10_0.19 before *, from 0:3.3.29-9.el7_9.1 before *, from 0:3.6.16-8.el8_10.6 before *, from 0:3.6.14-10.el8_4.1 before *, from 0:3.6.16-5.el8_6.5 before *
CVE List
libtasn1Not specified
Not affected: from 0:4.13-3.el8_4.1 before *, from 0:4.13-3.el8_6.2 before *, from 0:4.13-4.el8_8.1 before *
CVE List
openshift/ose-rhel-coreos-8Not specified
Not affected: from 412.86.202608241157-0 before *
CVE List
openshift/ose-rhel-coreos-9Not specified
Not affected: from 413.92.202609080414-0 before *, from 414.92.202608172040-0 before *, from 415.92.202608180329-0 before *, from 416.94.202608150307-0 before *, from 417.94.202608250221-0 before *, from 418.94.202608142238-0 before *
CVE List
cert-manager/jetstack-cert-manager-acmesolver-rhel9Not specified
Not affected: from 1791371080 before *, from 1791459707 before *
CVE List
cert-manager/jetstack-cert-manager-rhel9Not specified
Not affected: from 1791371069 before *, from 1791459711 before *
CVE List
cert-manager/cert-manager-operator-rhel9Not specified
Not affected: from 1791788287 before *, from 1789029076 before *
CVE List
cert-manager/cert-manager-operator-bundleNot specified
Not affected: from 1791970484 before *, from 1791966259 before *
CVE List
cert-manager/cert-manager-istio-csr-rhel9Not specified
Not affected: from 1791459759 before *
CVE List
cert-manager/cert-manager-trust-manager-rhel9Not specified
Not affected: from 1790598593 before *
CVE List
rhaiis/model-opt-cuda-rhel9Not specified
Not affected: from 1782951051 before *
CVE List
rhaiis/vllm-cuda-rhel9Not specified
Not affected: from 1782951012 before *
CVE List

All scores

redhat7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-130

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

A heap buffer overflow vulnerability exists in the DTLS handshake fragment reassembly logic of GnuTLS. The issue arises in merge_handshake_packet() where incoming handshake fragments are matched and merged based solely on handshake type, without validating that the message_length field remains consistent across all fragments of the same logical message. An attacker can exploit this by sending crafted DTLS fragments with conflicting message_length values, causing the implementation to allocate a buffer based on a smaller initial fragment and subsequently write beyond its bounds using larger, inconsistent fragments. Because the merge operation does not enforce proper bounds checking against the allocated buffer size, this results in an out-of-bounds write on the heap. The vulnerability is remotely exploitable without authentication via the DTLS handshake path and can lead to application crashes or potential memory corruption.

NVD (es)

Una vulnerabilidad de desbordamiento de búfer de pila existe en la lógica de reensamblaje de fragmentos de handshake DTLS de GnuTLS. El problema surge en merge_handshake_packet() donde los fragmentos de handshake entrantes se emparejan y fusionan basándose únicamente en el tipo de handshake, sin validar que el campo message_length permanezca consistente en todos los fragmentos del mismo mensaje lógico. Un atacante puede explotar esto enviando fragmentos DTLS manipulados con valores de message_length conflictivos, haciendo que la implementación asigne un búfer basado en un fragmento inicial más pequeño y posteriormente escriba más allá de sus límites usando fragmentos más grandes e inconsistentes. Debido a que la operación de fusión no aplica una verificación de límites adecuada contra el tamaño del búfer asignado, esto resulta en una escritura fuera de límites en la pila. La vulnerabilidad es remotamente explotable sin autenticación a través de la ruta de handshake DTLS y puede llevar a caídas de la aplicación o potencial corrupción de memoria.

References

https://access.redhat.com/errata/RHSA-2026:13274vendor-advisory
https://access.redhat.com/errata/RHSA-2026:20611vendor-advisory
https://access.redhat.com/errata/RHSA-2026:20612vendor-advisory
https://access.redhat.com/errata/RHSA-2026:20613vendor-advisory
https://access.redhat.com/errata/RHSA-2026:26319vendor-advisory
https://access.redhat.com/errata/RHSA-2026:26409vendor-advisory
https://access.redhat.com/errata/RHSA-2026:29197vendor-advisory
https://access.redhat.com/errata/RHSA-2026:30004vendor-advisory
https://access.redhat.com/errata/RHSA-2026:30849vendor-advisory
https://access.redhat.com/errata/RHSA-2026:30850vendor-advisory
https://access.redhat.com/errata/RHSA-2026:32962vendor-advisory
https://access.redhat.com/errata/RHSA-2026:33125vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-33846 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-33846 changed 2026-12-01Public domain