CVE-2019-8904: High severity File Project File vulnerability

Published Feb 18, 2019
·
Updated

dobidnote in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to fileprintf and filevprintf.

Affected Software

22 affected componentsFixes available
File Project File=5.35
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
debian/file
1:5.44-31:5.46-51:5.47-4
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0
alpine/file<5.36-r0
5.36-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/file to a version that resolves this vulnerability.

    Fixed in 1:5.44-3Fixed in 1:5.46-5Fixed in 1:5.47-4
  2. Upgrade

    Upgrade alpine/file to a version that resolves this vulnerability.

    Fixed in 5.36-r0

Event History

Feb 18, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
via OSV·05:29 PM
DescriptionSeverity
Mar 26, 2019
Data Sourced
05:46 PM
Weakness
Data Sourced
via NVD·05:46 PM
DescriptionSeverityWeaknessAffected Software
Updated
05:46 PM
Affected Software
Nov 21, 2024
Updated
via NVD·04:50 AM
Affected Software
Aug 25, 2025
Updated
via Ubuntu·12:00 AM
Description
Jun 17, 2026
Updated
via NVD·02:42 AM
Affected Software
Dec 3, 2026
Data Sourced
via OSV·11:32 PM
Affected Software

Frequently Asked Questions

1

What is CVE-2019-8904?

CVE-2019-8904 is a vulnerability in libmagic.a in file 5.35 that allows for a stack-based buffer over-read.

2

How severe is CVE-2019-8904?

CVE-2019-8904 has a severity rating of 8.8 (High).

3

What is the affected software?

The affected software includes file 5.35 on Ubuntu Linux 16.04, Ubuntu Linux 18.04, Ubuntu Linux 18.10, and Debian.

4

Is there a fix available for CVE-2019-8904?

Yes, the remedy for CVE-2019-8904 is to update file to version 1:5.35-3 on Ubuntu and to versions 1:5.35-4+deb10u2, 1:5.35-4+deb10u1, 1:5.39-3+deb11u1, 1:5.44-3, or 1:5.45-2 on Debian.

5

Where can I find more information about CVE-2019-8904?

More information about CVE-2019-8904 can be found at the following references: http://www.securityfocus.com/bid/107130, https://bugs.astron.com/view.php?id=62, https://usn.ubuntu.com/3911-1/

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203