Advisory

UBUNTU-CVE-2026-58012

Also known as: CVE-2026-58012

Summary

The record has no summary.

Details

A flaw was found in GLib. A buffer over-read can occur in the g_regex_replace function when used with the G_REGEX_RAW compile flag and case-change replacement escapes because the string_append function processes matched substrings using UTF-8 functions that assume valid UTF-8 input, even when the string is treated as raw bytes. This vulnerability can cause a minor information disclosure of 1-5 bytes and a denial of service when the buffer over-read crosses a page boundary.

Severity

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

Dates

Published
2026-06-30 13:19 UTC
Modified
2026-09-22 03:22 UTC

Affected packages and fixes

glib2.0

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.72.4-0ubuntu2.10 (ecosystem)

Fixed versions

2.72.4-0ubuntu2.10

Fix

  • Fixed version 2.72.4-0ubuntu2.10
    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.

glib2.0

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.80.0-6ubuntu3.9 (ecosystem)

Fixed versions

2.80.0-6ubuntu3.9

Fix

  • Fixed version 2.80.0-6ubuntu3.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.

glib2.0

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

glib2.0

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.88.0-1ubuntu0.1 (ecosystem)

Fixed versions

2.88.0-1ubuntu0.1

Fix

  • Fixed version 2.88.0-1ubuntu0.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