CVE Vulnerabilities

CVE-2016-5384

Double Free

Published: Aug 13, 2016 | Modified: Feb 12, 2023
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
3.7 MODERATE
AV:L/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
4.5 MODERATE
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM

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

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Fedora Fedoraproject 23 (including) 23 (including)
Fedora Fedoraproject 24 (including) 24 (including)
Red Hat Enterprise Linux 7 RedHat fontconfig-0:2.10.95-10.el7 *
Fontconfig Ubuntu devel *
Fontconfig Ubuntu precise *
Fontconfig Ubuntu trusty *
Fontconfig Ubuntu upstream *
Fontconfig Ubuntu vivid/stable-phone-overlay *
Fontconfig Ubuntu xenial *
Fontconfig Ubuntu yakkety *
Fontconfig Ubuntu zesty *

Potential Mitigations

References