CVE-2021-27218
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.7 and 2.67.x before 2.67.4. If g_byte_array_new_take() was called with a buffer of 4GB or more on a 64-bit platform, the length would be truncated modulo 2**32, causing unintended length truncation.
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
|
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