Description
File before 5.43 has an stack-based buffer over-read in file_copystr in funcs.c. NOTE: "File" is the name of an Open Source project.
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.44-1 | — |
| Debian 13 | file | 1:5.44-1 | — |
| Debian 12 | file | 1:5.44-1 | — |
| Debian 11 | file | 1:5.39-3+deb11u1 | DSA-5489-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | file | 1:5.41-3ubuntu0.1 | USN-6359-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | file +3 | 5.39-16.el9 | RHSA-2024:2512 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | file +3 | 5.39-16.el9 | ALSA-2024:2512 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | file | 5.39-16.el9 | RLSA-2024:2512 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | file +4 | 5.39-7.amzn2023.0.4 | ALAS2023-2023-333 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | file | 5.40-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | file +3 | 5.39-16.el9 | ELSA-2024-2512 |
Advisories 13
- ALSA-2024:2512 Low: file security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:2512 Red Hat Security Advisory: file security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- WID-SEC-2024-1226 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- USN-6359-1 file vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5489-1 file - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-0995 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- RLSA-2024:2512 Low: file security update Rocky Linux Security Advisories · Oct 9, 2025
- VDE-2024-073 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · May 22, 2025
- WID-SEC-2024-0581 Apple iOS und Apple iPadOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2025
- WID-SEC-2024-1307 Red Hat OpenShift Service Mesh Containers: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2025
- WID-SEC-2024-0578 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 6, 2025
- ELSA-2024-2512 Low: file security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 2, 2024
- ALAS2023-2023-333 Low: file security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 7, 2023
References
- https://bugs.astron.com/view.php?id=310
- DSA-5489 vendor-advisory
- https://security.netapp.com/advisory/ntap-20231116-0002/
- https://support.apple.com/kb/HT214081
- https://support.apple.com/kb/HT214088
- https://support.apple.com/kb/HT214084
- https://support.apple.com/kb/HT214086
- 20240313 APPLE-SA-03-07-2024-2 macOS Sonoma 14.4 mailing-list
- 20240313 APPLE-SA-03-07-2024-6 tvOS 17.4 mailing-list
- 20240313 APPLE-SA-03-07-2024-5 watchOS 10.4 mailing-list