Advisory Details

March 9th, 2022

Mozilla Firefox textPath Element Use-After-Free Remote Code Execution Vulnerability

ZDI-22-502
ZDI-CAN-16716

CVE ID CVE-2022-26381
CVSS SCORE 8.8, AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Mozilla
AFFECTED PRODUCTS Firefox
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Mozilla Firefox. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the handling of textPath elements. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS Mozilla has issued an update to correct this vulnerability. More details can be found at:
https://www.mozilla.org/en-US/security/advisories/mfsa2022-11/#CVE-2022-26381
DISCLOSURE TIMELINE
  • 2022-02-23 - Vulnerability reported to vendor
  • 2022-03-09 - Coordinated public release of advisory
CREDIT Hossein Lotfi of Trend Micro Zero Day Initiative
BACK TO ADVISORIES