UBUNTU-CVE-2025-6052

Source
https://ubuntu.com/security/CVE-2025-6052
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6052.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-6052
Upstream
Downstream
Related
Published
2025-06-13T16:15:00Z
Modified
2026-01-20T18:34:46.847289Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - low
Summary
[none]
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.

References

Affected packages

Ubuntu:24.04:LTS / glib2.0

Package

Name
glib2.0
Purl
pkg:deb/ubuntu/glib2.0@2.80.0-6ubuntu3.6?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.80.0-6ubuntu3.6

Affected versions

2.*

2.78.0-2
2.78.1-4
2.78.3-1
2.78.3-2
2.79.1-1
2.79.2-1~ubuntu1
2.79.3-3ubuntu5
2.80.0-6ubuntu1
2.80.0-6ubuntu3
2.80.0-6ubuntu3.1
2.80.0-6ubuntu3.2
2.80.0-6ubuntu3.4
2.80.0-6ubuntu3.5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gir1.2-girepository-3.0",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "gir1.2-girepository-3.0-dev",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "gir1.2-glib-2.0",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "gir1.2-glib-2.0-dev",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libgirepository-2.0-0",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libgirepository-2.0-dev",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libglib2.0-0t64",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libglib2.0-bin",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libglib2.0-data",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libglib2.0-dev",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libglib2.0-dev-bin",
            "binary_version": "2.80.0-6ubuntu3.6"
        },
        {
            "binary_name": "libglib2.0-tests",
            "binary_version": "2.80.0-6ubuntu3.6"
        }
    ],
    "priority_reason": "This is a low-severity issue",
    "availability": "No subscription required"
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-6052.json"