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.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-6052
Published
2025-06-13T16:15:00Z
Modified
2025-07-04T05:59:25.717867Z
Upstream
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
  • - 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:22.04:LTS / glib2.0

Package

Name
glib2.0
Purl
pkg:deb/ubuntu/glib2.0@2.72.4-0ubuntu2.5?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.72.4-0ubuntu2.5

Affected versions

2.*

2.68.4-1ubuntu1
2.70.1-1
2.70.2-1
2.71.0-2
2.71.1-1
2.71.2-1
2.71.3-1
2.72.0-1
2.72.1-1
2.72.4-0ubuntu1
2.72.4-0ubuntu2
2.72.4-0ubuntu2.2
2.72.4-0ubuntu2.3
2.72.4-0ubuntu2.4

Ecosystem specific

{
    "priority_reason": "This is a low-severity issue",
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libglib2.0-0",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-0-dbgsym",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-bin",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-bin-dbgsym",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-data",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-dev",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-dev-bin",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-dev-bin-dbgsym",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-doc",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-tests",
            "binary_version": "2.72.4-0ubuntu2.5"
        },
        {
            "binary_name": "libglib2.0-tests-dbgsym",
            "binary_version": "2.72.4-0ubuntu2.5"
        }
    ]
}

Ubuntu:24.10 / glib2.0

Package

Name
glib2.0
Purl
pkg:deb/ubuntu/glib2.0@2.82.1-0ubuntu1.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.80.0-6ubuntu1
2.80.1-0ubuntu2
2.80.2-1ubuntu1
2.80.3-1ubuntu1
2.80.4-1ubuntu1
2.81.0-1ubuntu2
2.81.1-2ubuntu1
2.81.1-3
2.82.0-1
2.82.1-0ubuntu1
2.82.1-0ubuntu1.1

Ecosystem specific

{
    "priority_reason": "This is a low-severity issue"
}

Ubuntu:24.04:LTS / glib2.0

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

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

Ecosystem specific

{
    "priority_reason": "This is a low-severity issue"
}

Ubuntu:25.04 / glib2.0

Package

Name
glib2.0
Purl
pkg:deb/ubuntu/glib2.0@2.84.1-1ubuntu0.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.82.1-0ubuntu1
2.82.2-3
2.82.3-2
2.82.4-1
2.82.4-2
2.83.2-2
2.83.3-1
2.83.3-2
2.83.4-1
2.83.5-1
2.84.0-1
2.84.0-2
2.84.1-1
2.84.1-1ubuntu0.1

Ecosystem specific

{
    "priority_reason": "This is a low-severity issue"
}