CVE-2021-27219
Publication date 15 February 2021
Last updated 18 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| glib2.0 | 25.10 questing |
Not affected
|
| 25.04 plucky |
Not affected
|
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Fixed 2.64.6-1~ubuntu20.04.2
|
|
| 18.04 LTS bionic |
Fixed 2.56.4-0ubuntu0.18.04.7
|
|
| 16.04 LTS xenial |
Fixed 2.48.2-0ubuntu4.7
|
|
| 14.04 LTS trusty |
Vulnerable
|
Notes
mdeslaur
see gnome bug for multiple regression fixes solved in 2.66.7 Upstream fixed this in 2.67 by adding a new g_memdup2() function and deprecating g_memdup(). For the 2.66 stable release, they added g_memdup2(), but in a private manner so that internal uses of g_memdup() could be switched, but this won’t fix external applications.
Patch details
| Package | Patch details |
|---|---|
| glib2.0 |
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-4759-1
- GLib vulnerabilities
- 8 March 2021