Code execution in E2fsprogs

Published: 2020-01-08
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-5188
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Universal components / Libraries / Libraries used by multiple products


Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Out-of-bounds write

EUVDB-ID: #VU24078

Risk: Low

CVSSv3.1: 7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-5188

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No


The vulnerability allows a local user to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in the directory rehashing functionality in "rehash.c" within the "mutate_name()" function. A local user can use a specially crafted ext4 directory, trigger out-of-bounds write on the stack and execute arbitrary code on the target system.


Install updates from vendor's website.

Vulnerable software versions

E2fsprogs: 1.43.3 - 1.45.4

External links

Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.