CVE-2016-5384 Use after free in n/a
Local attackers can execute arbitrary code via a crafted cache file due to improper offset validation leading to double free conditions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-5384?
CVE-2016-5384 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 12 Aug 2016. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
fontconfig before 2.12.1 does not validate offsets, which allows local users to trigger arbitrary free calls and consequently conduct double free attacks and execute arbitrary code via a crafted cache file.
Weakness: CWE-415
Which versions are affected by CVE-2016-5384?
It affects 4 products.
Linux distribution packages (23)
fontconfig Red Hat:enterprise_linux:7::client | All versions | 0:2.10.95-10.el7 |
fontconfig-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:2.10.95-10.el7 |
fontconfig-devel Red Hat:enterprise_linux:7::client | All versions | 0:2.10.95-10.el7 |
fontconfig-devel-doc Red Hat:enterprise_linux:7::client | All versions | 0:2.10.95-10.el7 |
fontconfig Red Hat:enterprise_linux:7::computenode | All versions | 0:2.10.95-10.el7 |
fontconfig-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:2.10.95-10.el7 |
fontconfig-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:2.10.95-10.el7 |
fontconfig-devel-doc Red Hat:enterprise_linux:7::computenode | All versions | 0:2.10.95-10.el7 |
fontconfig Red Hat:enterprise_linux:7::server | All versions | 0:2.10.95-10.el7 |
fontconfig-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:2.10.95-10.el7 |
fontconfig-devel Red Hat:enterprise_linux:7::server | All versions | 0:2.10.95-10.el7 |
fontconfig-devel-doc Red Hat:enterprise_linux:7::server | All versions | 0:2.10.95-10.el7 |
fontconfig Red Hat:enterprise_linux:7::workstation | All versions | 0:2.10.95-10.el7 |
fontconfig-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:2.10.95-10.el7 |
fontconfig-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:2.10.95-10.el7 |
fontconfig-devel-doc Red Hat:enterprise_linux:7::workstation | All versions | 0:2.10.95-10.el7 |
fontconfig SUSE:Linux Enterprise Desktop 12 SP1 | All versions | 2.11.0-6.1 |
fontconfig SUSE:Linux Enterprise Server 11 SP4 | All versions | 2.6.0-10.19.1 |
fontconfig SUSE:Linux Enterprise Server 12 SP1 | All versions | 2.11.0-6.1 |
fontconfig SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | All versions | 2.6.0-10.19.1 |
fontconfig SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 2.11.0-6.1 |
fontconfig SUSE:Linux Enterprise Software Development Kit 11 SP4 | All versions | 2.6.0-10.19.1 |
fontconfig SUSE:Linux Enterprise Software Development Kit 12 SP1 | All versions | 2.11.0-6.1 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Fontconfig Project Fontconfig.
How do I fix CVE-2016-5384?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2016-5384 being exploited?
There is no known exploitation of CVE-2016-5384 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2016-5384, DLA-587-1, DSA-3644-1, GHSA-g839-937g-3fhv, MGASA-2016-0287, RHSA-2016:2601 and 4 more.