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
Upstream
Published
2025-06-13T16:15:00Z
Modified
2025-07-18T17:02:45Z
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
  • 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.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"
}