CVE-2016-5259: Use After Free

Published Aug 1, 2016
·
Updated

Last updated 24 July 2024

Other sources

Security researcher Looben Yang discovered a use-after-free vulnerability when working with nested sync event loops in Service Workers. He discovered a mechanism where scripts can close their own worker, which will then trigger a synchronization XMLHttpRequest on this now closed and released worker. This results in a potentially exploitable crash when triggered.

External Reference:

https://www.mozilla.org/security/announce/2016/mfsa2016-73.html

Acknowledgements:

Name: the Mozilla project Upstream: Looben Yang

— Red Hat

Use-after-free vulnerability in the CanonicalizeXPCOMParticipant function in Mozilla Firefox before 48.0 and Firefox ESR 45.x before 45.3 allows remote attackers to execute arbitrary code via a script that closes its own Service Worker within a nested sync event loop.

— Launchpad

Affected Software

14 affected componentsFixes available
Mozilla Firefox<=47.0.1
Mozilla Firefox=45.1.0
Mozilla Firefox=45.1.1
Mozilla Firefox=45.2.0
Mozilla Firefox=45.3.0
Oracle Linux=5.0
Oracle Linux=6
Oracle Linux=7
Mozilla Firefox ESR=45.1.0
Mozilla Firefox ESR=45.1.1
Mozilla Firefox ESR=45.2.0
Mozilla Firefox ESR=45.3.0
debian/firefox
137.0.1-1
debian/firefox-esr
115.14.0esr-1~deb11u1128.9.0esr-1~deb11u1128.8.0esr-1~deb12u1128.9.0esr-1~deb12u1128.9.0esr-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 137.0.1-1
  2. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 115.14.0esr-1~deb11u1Fixed in 128.9.0esr-1~deb11u1Fixed in 128.8.0esr-1~deb12u1Fixed in 128.9.0esr-1~deb12u1Fixed in 128.9.0esr-2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 48.0
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 45.3

Event History

Aug 1, 2016
Data Sourced
via Red Hat·06:31 AM
DescriptionSeverityAffected Software
Aug 3, 2016
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Aug 5, 2016
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Dec 27, 2019
Data Sourced
04:08 PM
Weakness
Data Sourced
via NVD·04:08 PM
DescriptionSeverityWeaknessAffected Software
Updated
via NVD·04:08 PM
Affected Software
Oct 22, 2024
Updated
via NVD·01:54 PM
Affected Software
Nov 21, 2024
Updated
via NVD·02:53 AM
Affected Software
Jun 17, 2026
Updated
via NVD·12:49 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2016-5259?

CVE-2016-5259 is a use-after-free vulnerability in the CanonicalizeXPCOMParticipant function in Mozilla Firefox.

2

How does CVE-2016-5259 affect Mozilla Firefox?

CVE-2016-5259 allows remote attackers to execute arbitrary code via a script that closes its own Service Worker within a nested sync event loop.

3

What is the severity of CVE-2016-5259?

CVE-2016-5259 has a severity rating of 8.8 (High).

4

How can I fix CVE-2016-5259?

To fix CVE-2016-5259, you should update Mozilla Firefox to version 48.0 or later.

5

Where can I find more information about CVE-2016-5259?

You can find more information about CVE-2016-5259 on the CVE website (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5259), the Mozilla security advisories (https://www.mozilla.org/en-US/security/advisories/mfsa2016-73/), and the Bugzilla entry (https://bugzilla.mozilla.org/show_bug.cgi?id=1282992).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203