Description
do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | file | 1:5.35-3 | — |
| Debian 13 | file | 1:5.35-3 | — |
| Debian 12 | file | 1:5.35-3 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | file | 5.40-1.14 | openSUSE-SU-2024:10755-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | file | 5.36-r0 | — |
| Alpine v3.23 | file | 5.36-r0 | — |
| Alpine v3.22 | file | 5.36-r0 | — |
| Alpine v3.21 | file | 5.36-r0 | — |
| Alpine v3.20 | file | 5.36-r0 | — |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | file | 5.36-r0 | — |
| Alpine v3.18 | file | 5.36-r0 | — |
| Alpine v3.17 | file | 5.36-r0 | — |
| Alpine v3.16 | file | 5.36-r0 | — |
| Alpine v3.15 | file | 5.36-r0 | — |
| Alpine v3.14 | file | 5.36-r0 | — |
| Alpine v3.13 | file | 5.36-r0 | — |
| Alpine v3.12 | file | 5.36-r0 | — |
| Alpine v3.11 | file | 5.36-r0 | — |
| Alpine v3.10 | file | 5.36-r0 | — |
| Alpine v3.9 | file | 5.36-r0 | — |
Advisories 1
- openSUSE-SU-2024:10755-1 file-5.40-1.14 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bugs.astron.com/view.php?id=62
- 107130 vdb-entry
- USN-3911-1 vendor-advisory