Advisory

UBUNTU-CVE-2025-6052

Also known as: CVE-2025-6052

Summary

The record has no summary.

Details

A flaw was found in how GLib’s GString manages memory when adding data to strings. If a string is already very large, combining it with more input can cause a hidden overflow in the size calculation. This makes the system think it has enough memory when it doesn’t. As a result, data may be written past the end of the allocated memory, leading to crashes or memory corruption.

Severity

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

Dates

Published
2025-06-13 16:15 UTC
Modified
2026-04-22 16:07 UTC

Affected packages and fixes

glib2.0

Debian packages (deb) · Ubuntu 24.04

Affected

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

Fixed versions

2.80.0-6ubuntu3.6

Fix

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

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