CVE-2021-31870
Publication date 30 April 2021
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() function may result in an integer overflow and a subsequent heap buffer overflow.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| klibc | 22.04 LTS jammy |
Not affected
|
| 20.04 LTS focal |
Fixed 2.0.7-1ubuntu5.1
|
|
| 18.04 LTS bionic |
Fixed 2.0.4-9ubuntu2.1
|
|
| 16.04 LTS xenial |
Fixed 2.0.4-8ubuntu1.16.04.4+esm1
|
|
| 14.04 LTS trusty |
Fixed 2.0.3-0ubuntu1.14.04.3+esm2
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialNotes
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5379-1
- klibc vulnerabilities
- 18 April 2022