Advisory

UBUNTU-CVE-2026-19542

Also known as: CVE-2026-19542

Summary

The record has no summary.

Details

Calling tdelete on a sufficiently deep tree in the GNU C Library version 2.1 to 2.44 may write one pointer past the end of an alloca-allocated array on the stack, which may crash the application. The tdelete implementation keeps an explicit stack of parent nodes for rebalancing, which is grown as needed while descending the tree. Two rebalancing branches push an additional entry without checking the capacity, and write past the array when the stack is exactly full. Triggering this requires a node at a depth of exactly 40 (or 40 plus a multiple of 20), which implies a tree with at least a million nodes, so an attacker must drive a large number of insertions and deletions through an application that uses tsearch and tdelete. The written value is a pointer into a tree node and is not directly attacker controlled. No affected application in common distributions has been identified.

Severity

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

Dates

Published
2026-08-27 00:00 UTC
Modified
2026-09-16 14:01 UTC

Affected packages and fixes

glibc

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.35-0ubuntu3.15 (ecosystem)

Fixed versions

2.35-0ubuntu3.15

Fix

  • Fixed version 2.35-0ubuntu3.15
    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.

glibc

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.39-0ubuntu8.9 (ecosystem)

Fixed versions

2.39-0ubuntu8.9

Fix

  • Fixed version 2.39-0ubuntu8.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.

glibc

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.43-2ubuntu2.4 (ecosystem)

Fixed versions

2.43-2ubuntu2.4

Fix

  • Fixed version 2.43-2ubuntu2.4
    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