Where
-Infinity
0

Vendor Risk Score

See how file project compares to other vendors in security performance

View Risk Score →
Severity
5.5
Buffer Overflow
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Accessibility. A privacy issue was addressed with improved private data redaction for log entries.

1 / 19
Source: Apple
First published (updated )
Severity
7.8
Buffer Overflow
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

cdfreadpropertyinfo in cdf.c in file through 5.37 does not restrict the number of CDFVECTOR elements, which allows a heap-based buffer overflow (4-byte out-of-bounds write).

1 / 3
Source: MITRE
First published (updated )
Severity
4.4
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

docorenote in readelf.c in libmagic.a in file 5.35 has an out-of-bounds read because memcpy is misused.

1 / 3
Source: Launchpad
First published (updated )
Severity
8.8
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

1 / 2
Source: Launchpad
First published (updated )
Severity
4.4
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

docorenote in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to fileprintable, a different vulnerability than CVE-2018-10360.

1 / 2
Source: Launchpad
First published (updated )
Severity
8.8
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

docorenote in readelf.c in libmagic.a in file 5.35 allows remote attackers to cause a denial of service (stack corruption and application crash) or possibly have unspecified other impact.

1 / 2
Source: Launchpad
First published (updated )
Severity
6.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

A flaw was found in file. The docorenote function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file.

References: https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22

1 / 4
Source: Red Hat
First published (updated )
Severity
5.5
Buffer Overflow
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).

First published (updated )
Severity
7.5
Input Validation
AV:N/AC:L/Au:N/C:P/I:P/A:P

It was reported [1][2] that a malformed elf file can cause file urility to access invalid memory. Upstream fixes that correct this: https://github.com/file/file/commit/445c8fb0ebff85195be94cd9f7e1df89cade5c7f https://github.com/file/file/commit/e96f86b5311572be1360ee0bb05d4926f8df3189

[1]: http://mx.gw.com/pipermail/file/2014/001649.html [2]: http://bugs.gw.com/view.php?id=409

1 / 3
Source: Red Hat
First published (updated )
Severity
5
Buffer Overflow
AV:N/AC:L/Au:N/C:N/I:N/A:P

Out of bounds memory read was reported in file utility [1], which also affects PHP fileinfo module. Upstream fix that resolves this for file utility: https://github.com/file/file/commit/59e63838913eee47f5c120a6c53d4565af638158

PHP upstream fix: https://github.com/php/php-src/commit/ede59c8feb4b80e1b94e4abdaa0711051e2912ab

[1]: http://bugs.gw.com/view.php?id=398

1 / 2
Source: Red Hat
First published (updated )
Severity
5
AV:N/AC:L/Au:N/C:N/I:N/A:P

Last updated 24 July 2024

1 / 3
Source: Ubuntu
First published (updated )
Severity
5
AV:N/AC:L/Au:N/C:N/I:N/A:P

It was reported [1] that file versions prior to 5.22 did not limit the number of ELF notes processed, which could lead to a local resource exhaustion.

Upstream fix: https://github.com/file/file/commit/ce90e05774dd77d86cfc8dfa6da57b32816841c4

This issue seems to be introduced here: https://github.com/file/file/commit/956a45ab1c54b11304b367056f41905e72a02380#diff-bc5c24ef9f39a5f4963ca28ecbc645b3L423 which ended up in 5.08 release.

[1]: http://mx.gw.com/pipermail/file/2014/001653.html

1 / 3
Source: Red Hat
First published (updated )
Severity
5
AV:N/AC:L/Au:N/C:N/I:N/A:P

softmagic.c in file before 5.21 does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors.

1 / 2
Source: MITRE
First published (updated )
Severity
5
AV:N/AC:L/Au:N/C:N/I:N/A:P

The ELF parser (readelf.c) in file before 5.21 allows remote attackers to cause a denial of service (CPU consumption or crash) via a large number of (1) program or (2) section headers or (3) invalid capabilities.

1 / 2
Source: MITRE
First published (updated )
Severity
4.3
Input Validation
AV:N/AC:M/Au:N/C:N/I:N/A:P

A flaw was found in the way file uses cdfreadpropertyinfo function when checks stream offsets for certain Composite Document Format (CDF).

Upstream commit: https://github.com/file/file/commit/93e063ee374b6a75729df9e7201fb511e47e259d

Acknowledgements:

This issue was discovered by Francisco Alonso of Red Hat Product Security.

1 / 2
Source: Red Hat
First published (updated )
Severity
4

A flaw was found in the way file uses cdfcheckstreamoffset function when checks stream offsets for certain Composite Document Format (CDF).

Upstream commit: https://github.com/file/file/commit/36fadd29849b8087af9f4586f89dbf74ea45be67

Acknowledgements:

This issue was discovered by Francisco Alonso of Red Hat Product Security.

First published (updated )
Severity
4.3
AV:N/AC:M/Au:N/C:N/I:N/A:P

A flaw was found in the way file uses cdfcheckstreamoffset function when checks stream offsets for certain Composite Document Format (CDF).

Upstream commit: https://github.com/file/file/commit/36fadd29849b8087af9f4586f89dbf74ea45be67

Acknowledgements:

This issue was discovered by Francisco Alonso of Red Hat Product Security.

1 / 2
Source: Red Hat
First published (updated )
Severity
6.5
Input Validation
AV:N/AC:M/Au:N/C:N/I:N/A:P

A flaw was found in the way file uses cdfcountchain() function to processes maxsector for certain Composite Document Format (CDF) files.

Upstream commit: https://github.com/file/file/commit/40bade80cbe2af1d0b2cd0420cebd5d5905a2382

Acknowledgements:

This issue was discovered by Francisco Alonso of Red Hat Product Security.

1 / 2
Source: Red Hat
First published (updated )
Severity
4

A flaw was reported in the rules file uses to detect AWK scripts. A malicious input file could cause the file utility to use 100% CPU.

Upstream bug: http://bugs.gw.com/view.php?id=164 Upstream fix: https://github.com/file/file/commit/ef2329cf71acb59204dd981e2c6cce6c81fe467c

First published (updated )
Severity
4.3
Buffer Overflow
AV:N/AC:M/Au:N/C:N/I:N/A:P

A flaw was found in the way the file utility determined the type of Portable Executable (PE) format files, the executable format used on Windows. A malicious PE file could cause the file utility to crash or, potentially, execute arbitrary code.

Upstream report: http://bugs.gw.com/view.php?id=313

Upstream fix: https://github.com/glensc/file/commit/447558595a3650db2886cd2f416ad0beba965801

1 / 2
Source: Red Hat
First published (updated )

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