CVE-2020-15999: CefSharp.Common Heap Buffer Overflow Vulnerability

MODERATE
Advisory Identifier: GHSA-pv36-h7jh-qm62
CVSS 6.5
CWE-787 CWE-119
Published
Advisory Summary

CVE-2020-15999 is a MODERATE (CVSS 6.5) heap buffer overflow vulnerability (CWE-787: Out-of-bounds Write) affecting CefSharp.Common libraries in the NuGet ecosystem. The issue involves heap buffer overflow in cefsharp. Remediation is available by upgrading affected packages to version 85.3.130.

CVE-2020-15999 at a Glance

CVE Identifier CVE-2020-15999
GHSA Identifier GHSA-pv36-h7jh-qm62
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-787: Out-of-bounds Write
Affected Product CefSharp.Common
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2020-15999

To remediate this vulnerability, upgrade all affected CefSharp.Common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

CefSharp.Common fixed: 85.3.130
Upgrade CefSharp.Common to 85.3.130
CefSharp.Wpf fixed: 85.3.130
Upgrade CefSharp.Wpf to 85.3.130
CefSharp.WinForms fixed: 85.3.130
Upgrade CefSharp.WinForms to 85.3.130
CefSharp.Wpf.HwndHost fixed: 85.3.130
Upgrade CefSharp.Wpf.HwndHost to 85.3.130
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for CefSharp.Common

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-15999, inspect your project dependencies for CefSharp.Common:

inspect dependencies for CefSharp.Common

Analyze the terminal output to locate any version of CefSharp.Common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 85.3.130), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In CefSharp.Common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact A memory corruption bug(Heap overflow) in the FreeType font rendering library. > This can be exploited by attackers to execute arbitrary code by using specially crafted fonts with embedded PNG images . As per https://www.secpod.com/blog/chrome-zero-day-under-active-exploitation-patch-now/ Google is aware of reports that an exploit for CVE-2020-15999 exists in the wild. ### Patches Upgrade to 85.3.130 or higher ### References - https://www.secpod.com/blog/chrome-zero-day-under-active-exploitation-patch-now/ - https://www.zdnet.com/article/google-releases-chrome-security-update-to-patch-actively-exploited-zero-day/ - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15999 - https://magpcss.org/ceforum/viewtopic.php?f=10&t=17942 To review the `CEF/Chromium` patch see https://bitbucket.org/chromiumembedded/cef/commits/cd6cbe008b127990036945fb75e7c2c1594ab10d

CVE-2020-15999 Affected CefSharp.Common Versions

4 component(s)
Fixed Versions:
85.3.130
Product / Package Ecosystem Affected Versions Fixed Version
CefSharp.Common
NuGet
< 85.3.130
85.3.130
CefSharp.Wpf
NuGet
< 85.3.130
85.3.130
CefSharp.WinForms
NuGet
< 85.3.130
85.3.130
CefSharp.Wpf.HwndHost
NuGet
< 85.3.130
85.3.130

References

CefSharp.Common Security Information SECURITY
https://security.gentoo.org/glsa/202012-04
CefSharp.Common Security Information SECURITY
https://security.gentoo.org/glsa/202011-12
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J3QVIGAAJ4D62YEJAJJWMCCBCOQ6TVL7
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J3QVIGAAJ4D62YEJAJJWMCCBCOQ6TVL7
googleprojectzero.blogspot.com/p/rca-cve-2020-1599... WEB
https://googleprojectzero.blogspot.com/p/rca-cve-2020-15999.html
GitHub Advisory / Wiki ADVISORY
https://github.com/cefsharp/CefSharp/security/advisories/GHSA-pv36-h7jh-qm62
NVD — CVE-2020-15999 NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-15999
www.nuget.org/packages/cefsharp.w... WEB
https://www.nuget.org/packages/CefSharp.Wpf.HwndHost
www.nuget.org/packages/cefsharp.w... WEB
https://www.nuget.org/packages/CefSharp.Wpf
www.nuget.org/packages/cefsharp.w... WEB
https://www.nuget.org/packages/CefSharp.WinForms
www.nuget.org/packages/cefsharp.c... WEB
https://www.nuget.org/packages/CefSharp.Common
CefSharp.Common Security Information SECURITY
https://www.debian.org/security/2021/dsa-4824
CefSharp.Common Security Information SECURITY
https://security.netapp.com/advisory/ntap-20240812-0001
CefSharp.Common Security Information SECURITY
https://security.gentoo.org/glsa/202401-19
CefSharp.Common Source Repository REPOSITORY
https://github.com/cefsharp/CefSharp
crbug.com/1139963 WEB
https://crbug.com/1139963
chromereleases.googleblog.com/2020/10/stable-chan... WEB
https://chromereleases.googleblog.com/2020/10/stable-channel-update-for-desktop_20.html
CefSharp.Common Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00016.html
seclists.org/fulldisclosure/2020... WEB
http://seclists.org/fulldisclosure/2020/Nov/33

Frequently Asked Questions

What is CVE-2020-15999?
CVE-2020-15999 is a security vulnerability in CefSharp.Common involving Heap buffer overflow in CefSharp under CWE-787: Out-of-bounds Write.
Which CefSharp.Common versions are affected?
Affected versions include releases prior to 85.3.130 across affected packages: CefSharp.Common, CefSharp.Wpf, CefSharp.WinForms, CefSharp.Wpf.HwndHost.
What version fixes CVE-2020-15999?
Upgrading to 85.3.130 (or the latest patched release for your respective branch) resolves the vulnerability.
Is CefSharp.Common affected?
Yes, CefSharp.Common is affected in releases prior to 85.3.130. Upgrade your dependency to 85.3.130 or later.
Is CefSharp.Wpf affected?
Yes, CefSharp.Wpf is affected in releases prior to 85.3.130. Upgrade your dependency to 85.3.130 or later.
What is the CVSS score of CVE-2020-15999?
CVE-2020-15999 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2020-15999?
CVE-2020-15999 is classified under CWE-787: Out-of-bounds Write (The product writes data past the end, or before the beginning, of the intended buffer.).
How can I check NuGet dependencies for CVE-2020-15999?
Run the dependency tree command: 'inspect dependencies for CefSharp.Common'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pv36-h7jh-qm62",
  "modified" : "2025-02-03T15:31:58Z",
  "published" : "2020-10-27T19:47:38Z",
  "aliases" : [ "CVE-2020-15999" ],
  "summary" : "Heap buffer overflow in CefSharp",
  "details" : "### Impact\nA memory corruption bug(Heap overflow) in the FreeType font rendering library.\n\n> This can be exploited by attackers to execute arbitrary code by using specially crafted fonts with embedded PNG images .\n\nAs per https://www.secpod.com/blog/chrome-zero-day-under-active-exploitation-patch-now/ \n\nGoogle is aware of reports that an exploit for CVE-2020-15999 exists in the wild.\n\n### Patches\nUpgrade to 85.3.130 or higher\n\n### References\n- https://www.secpod.com/blog/chrome-zero-day-under-active-exploitation-patch-now/\n- https://www.zdnet.com/article/google-releases-chrome-security-update-to-patch-actively-exploited-zero-day/\n- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15999\n- https://magpcss.org/ceforum/viewtopic.php?f=10&t=17942\n\nTo review the `CEF/Chromium` patch see https://bitbucket.org/chromiumembedded/cef/commits/cd6cbe008b127990036945fb75e7c2c1594ab10d",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "85.3.130"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Wpf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "85.3.130"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.WinForms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "85.3.130"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "CefSharp.Wpf.HwndHost"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "85.3.130"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cefsharp/CefSharp/security/advisories/GHSA-pv36-h7jh-qm62"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15999"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/CefSharp.Wpf.HwndHost"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/CefSharp.Wpf"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/CefSharp.WinForms"
  }, {
    "type" : "WEB",
    "url" : "https://www.nuget.org/packages/CefSharp.Common"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2021/dsa-4824"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20240812-0001"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202401-19"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202012-04"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202011-12"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J3QVIGAAJ4D62YEJAJJWMCCBCOQ6TVL7"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J3QVIGAAJ4D62YEJAJJWMCCBCOQ6TVL7"
  }, {
    "type" : "WEB",
    "url" : "https://googleprojectzero.blogspot.com/p/rca-cve-2020-15999.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cefsharp/CefSharp"
  }, {
    "type" : "WEB",
    "url" : "https://crbug.com/1139963"
  }, {
    "type" : "WEB",
    "url" : "https://chromereleases.googleblog.com/2020/10/stable-channel-update-for-desktop_20.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00016.html"
  }, {
    "type" : "WEB",
    "url" : "http://seclists.org/fulldisclosure/2020/Nov/33"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119", "CWE-787" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-10-27T19:47:22Z",
    "nvd_published_at" : "2020-11-03T03:15:00Z"
  }
}