| Name | CVE-2021-31873 | 
| Description | An issue was discovered in klibc before 2.0.9. Additions in the malloc() function may result in an integer overflow and a subsequent heap buffer overflow. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-2695-1 | 
| Debian Bugs | 989505 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| klibc (PTS) | bullseye | 2.0.8-6.1 | fixed | 
|  | bookworm | 2.0.12-1 | fixed | 
|  | forky, sid, trixie | 2.0.14-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| klibc | source | stretch | 2.0.4-9+deb9u1 |  | DLA-2695-1 |  | 
| klibc | source | buster | 2.0.6-1+deb10u1 |  |  |  | 
| klibc | source | (unstable) | 2.0.8-6 |  |  | 989505 | 
Notes
https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=a31ae8c508fc8d1bca4f57e9f9f88127572d5202
https://www.openwall.com/lists/oss-security/2021/04/30/1