7.8
HIGH
CVE-2016-5384
Fontconfig Offset Validation Vulnerability (FreeDOS)
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.

INFO

Published Date :

Aug. 13, 2016, 1:59 a.m.

Last Modified :

Nov. 21, 2024, 2:54 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2016-5384 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-5384 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Fedoraproject fedora
1 Debian debian_linux
1 Fontconfig_project fontconfig
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-5384.

URL Resource
http://rhn.redhat.com/errata/RHSA-2016-2601.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3644 Third Party Advisory
http://www.securityfocus.com/bid/92339 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-3063-1 Third Party Advisory
https://cgit.freedesktop.org/fontconfig/commit/?id=7a4a5bd7897d216f0794ca9dbce0a4a5c9d14940 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6CJ45VRAMCIISHOVKFVOQYQUSTUJP7FC/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGOS4YYB7UYAWX5AEXJZHDIX4ZMSXSW5/
https://lists.freedesktop.org/archives/fontconfig/2016-August/005792.html Mailing List Patch Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2601.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3644 Third Party Advisory
http://www.securityfocus.com/bid/92339 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-3063-1 Third Party Advisory
https://cgit.freedesktop.org/fontconfig/commit/?id=7a4a5bd7897d216f0794ca9dbce0a4a5c9d14940 Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6CJ45VRAMCIISHOVKFVOQYQUSTUJP7FC/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGOS4YYB7UYAWX5AEXJZHDIX4ZMSXSW5/
https://lists.freedesktop.org/archives/fontconfig/2016-August/005792.html Mailing List Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Openshift Controller for Clair

Python Shell

Updated: 5 years, 4 months ago
10 stars 5 fork 5 watcher
Born at : June 8, 2017, 8:22 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-5384 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-5384 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description It was found that cache files were insufficiently validated in fontconfig. A local attacker could create a specially crafted cache file to trigger arbitrary free() calls, which in turn could lead to arbitrary code execution. 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.
    Removed CVSS V2 Red Hat, Inc. (AV:L/AC:H/Au:N/C:P/I:P/A:P)
    Removed CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
    Removed Reference https://access.redhat.com/errata/RHSA-2016:2601 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2016-5384 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1350891 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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. It was found that cache files were insufficiently validated in fontconfig. A local attacker could create a specially crafted cache file to trigger arbitrary free() calls, which in turn could lead to arbitrary code execution.
    Added CVSS V2 Red Hat, Inc. (AV:L/AC:H/Au:N/C:P/I:P/A:P)
    Added CVSS V3 Red Hat, Inc. AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
    Removed Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/6CJ45VRAMCIISHOVKFVOQYQUSTUJP7FC/ [Mailing List, Third Party Advisory]
    Removed Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/GGOS4YYB7UYAWX5AEXJZHDIX4ZMSXSW5/ [Third Party Advisory]
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6CJ45VRAMCIISHOVKFVOQYQUSTUJP7FC/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GGOS4YYB7UYAWX5AEXJZHDIX4ZMSXSW5/ [No Types Assigned]
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1350891 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2016:2601 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2016-5384 [No Types Assigned]
  • Modified Analysis by [email protected]

    Jan. 31, 2022

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2016-2601.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2016-2601.html Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/92339 No Types Assigned http://www.securityfocus.com/bid/92339 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.ubuntu.com/usn/USN-3063-1 No Types Assigned http://www.ubuntu.com/usn/USN-3063-1 Third Party Advisory
    Changed Reference Type https://cgit.freedesktop.org/fontconfig/commit/?id=7a4a5bd7897d216f0794ca9dbce0a4a5c9d14940 Patch https://cgit.freedesktop.org/fontconfig/commit/?id=7a4a5bd7897d216f0794ca9dbce0a4a5c9d14940 Patch, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/6CJ45VRAMCIISHOVKFVOQYQUSTUJP7FC/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/6CJ45VRAMCIISHOVKFVOQYQUSTUJP7FC/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.freedesktop.org/archives/fontconfig/2016-August/005792.html Release Notes https://lists.freedesktop.org/archives/fontconfig/2016-August/005792.html Mailing List, Patch, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*
    Changed CPE Configuration OR *cpe:2.3:a:fontconfig_project:fontconfig:*:*:*:*:*:*:*:* versions up to (including) 2.12 OR *cpe:2.3:a:fontconfig_project:fontconfig:*:*:*:*:*:*:*:* versions up to (excluding) 2.12.1
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
  • CVE Modified by [email protected]

    Jan. 18, 2017

    Action Type Old Value New Value
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-2601.html [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.ubuntu.com/usn/USN-3063-1 [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/6CJ45VRAMCIISHOVKFVOQYQUSTUJP7FC/ [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/92339 [No Types Assigned]
  • Modified Analysis by [email protected]

    Aug. 16, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:fontconfig_project:fontconfig:2.12:*:*:*:*:*:*:* (and previous) Configuration 3 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    Added CVSS V2 (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://lists.freedesktop.org/archives/fontconfig/2016-August/005792.html No Types Assigned https://lists.freedesktop.org/archives/fontconfig/2016-August/005792.html Release Notes
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/GGOS4YYB7UYAWX5AEXJZHDIX4ZMSXSW5/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/GGOS4YYB7UYAWX5AEXJZHDIX4ZMSXSW5/ Third Party Advisory
    Changed Reference Type https://cgit.freedesktop.org/fontconfig/commit/?id=7a4a5bd7897d216f0794ca9dbce0a4a5c9d14940 No Types Assigned https://cgit.freedesktop.org/fontconfig/commit/?id=7a4a5bd7897d216f0794ca9dbce0a4a5c9d14940 Patch
    Changed Reference Type http://www.debian.org/security/2016/dsa-3644 No Types Assigned http://www.debian.org/security/2016/dsa-3644 Third Party Advisory
    Added CWE CWE-415
  • Initial Analysis by [email protected]

    Aug. 15, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-5384 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-5384 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability