Advisory

UBUNTU-CVE-2026-33846

Also known as: CVE-2026-33846

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-04 10:15 UTC
Modified
2026-07-06 20:44 UTC

Affected packages and fixes

gnutls28

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.7.3-4ubuntu1.9 (ecosystem)

Fixed versions

3.7.3-4ubuntu1.9

Fix

  • Fixed version 3.7.3-4ubuntu1.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gnutls28

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.8.3-1.1ubuntu3.6 (ecosystem)

Fixed versions

3.8.3-1.1ubuntu3.6

Fix

  • Fixed version 3.8.3-1.1ubuntu3.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gnutls28

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 3.8.9-3ubuntu2.2 (ecosystem)

Fixed versions

3.8.9-3ubuntu2.2

Fix

  • Fixed version 3.8.9-3ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gnutls28

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 3.8.12-2ubuntu1.1 (ecosystem)

Fixed versions

3.8.12-2ubuntu1.1

Fix

  • Fixed version 3.8.12-2ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences