| Name | CVE-2019-8906 | 
| Description | do_core_note in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused. | 
| 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) | 
| Debian Bugs | 922969 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| file (PTS) | bullseye (security), bullseye | 1:5.39-3+deb11u1 | fixed | 
|  | bookworm | 1:5.44-3 | fixed | 
|  | forky, sid, trixie | 1:5.46-5 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| file | source | jessie | (not affected) |  |  |  | 
| file | source | stretch | (not affected) |  |  |  | 
| file | source | (unstable) | 1:5.35-3 |  |  | 922969 | 
Notes
[stretch] - file <not-affected> (vulnerable code introduced later)
[jessie] - file <not-affected> (vulnerable code introduced later)
https://bugs.astron.com/view.php?id=64
Introduced by: https://github.com/file/file/commit/0ac0678c52e248fd2a632a84b638694f205aef9d (FILE5_31)
Fixed by: https://github.com/file/file/commit/2858eaf99f6cc5aae129bcbf1e24ad160240185f (FILE5_36)