Buffer Underflow Affecting electron Open this link in a new tab package, versions <6.1.10 >=7.0.0 <7.2.2 >=8.0.0-beta.1 <8.2.0

  • Attack Complexity


  • Availability


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    15 Apr 2020

  • disclosed

    8 Apr 2020

  • credit


Introduced: 8 Apr 2020

CWE-124 Open this link in a new tab

How to fix?

Upgrade electron to version 6.1.10, 7.2.2, 8.2.0 or higher.


electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Buffer Underflow. Since there may be multiple instance of DWriteFontProxyImpl instantiated for multiple RenderProcessHosts, and DWriteFontProxyImpl::GetUniqueNameLookupTable may access DWriteFontLookupTableBuilder::QueueShareMemoryRegionWhenReady from separate threads, there may be race conditions around the pending_callbacks_ member of DWriteFontLookupTableBuilder.