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 package | Versions | Reported by |
|---|---|---|
| gnutls | Not 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 |
| libtasn1 | Not 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-8 | Not specified Not affected: from 412.86.202608241157-0 before * | CVE List |
| openshift/ose-rhel-coreos-9 | Not 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-rhel9 | Not specified Not affected: from 1791371080 before *, from 1791459707 before * | CVE List |
| cert-manager/jetstack-cert-manager-rhel9 | Not specified Not affected: from 1791371069 before *, from 1791459711 before * | CVE List |
| cert-manager/cert-manager-operator-rhel9 | Not specified Not affected: from 1791788287 before *, from 1789029076 before * | CVE List |
| cert-manager/cert-manager-operator-bundle | Not specified Not affected: from 1791970484 before *, from 1791966259 before * | CVE List |
| cert-manager/cert-manager-istio-csr-rhel9 | Not specified Not affected: from 1791459759 before * | CVE List |
| cert-manager/cert-manager-trust-manager-rhel9 | Not specified Not affected: from 1790598593 before * | CVE List |
| rhaiis/model-opt-cuda-rhel9 | Not specified Not affected: from 1782951051 before * | CVE List |
| rhaiis/vllm-cuda-rhel9 | Not specified Not affected: from 1782951012 before * | CVE List |
| rhaiis/vllm-rocm-rhel9 | Not specified Not affected: from 1782951244 before * | CVE List |
| discovery/discovery-server-rhel9 | Not specified Not affected: from 1782159791 before * | CVE List |
| discovery/discovery-ui-rhel9 | Not specified Not affected: from 1782166952 before * | CVE List |
| gnutls-main | Not specified Not affected: from 3.8.13-1.hum1 before * | CVE List |
| rhai/base-image-neuron-rhel9 | Not specified Not affected: from 1790703542 before * | CVE List |
| rhui5/cds-rhel9 | Not specified Not affected: from 1781525684 before * | CVE List |
| rhui5/haproxy-rhel9 | Not specified Not affected: from 1781525671 before * | CVE List |
| rhui5/installer-rhel9 | Not specified Not affected: from 1781525693 before * | CVE List |
| rhui5/rhua-rhel9 | Not specified Not affected: from 1781525739 before * | CVE List |
| rhui5/cds-kubernetes-tp-rhel9 | Not specified Not affected: from 1787241211 before * | CVE List |
| rhui5/installer-tp-rhel9 | Not specified Not affected: from 1787135742 before * | CVE List |
| rhui5/rhua-tp-rhel9 | Not specified Not affected: from 1787241260 before * | CVE List |
| openshift4/ose-hypershift-rhel9 | Not specified | CVE List |
| rhcos | Not specified Not affected: from 412.86.202608241157-0 before *, 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 * | CVE List |
All scores
| redhat | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| redhat-SADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33846 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-33846 changed 2026-12-01 | Public domain |