Use After Free in Mozilla Firefox

CVE-2021-38504

When interacting with an HTML input element's file picker dialog with webkitdirectory set, a use-after-free could have resulted, leading to memory corruption and a potentially exploitable crash. This vulnerability affects Firefox < 94, Thunderbird < 91.3, and Firefox ESR < 91.3.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.018 (77.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-38504: held from 0.016 to 0.018.

EPSS over last 30 days · oldest: 0.016 · newest: 0.018 · change: +0.002

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-38504?
CVE-2021-38504 is a high-severity vulnerability in Mozilla Firefox, classified under Use After Free. CVSS score: 8.8/10. Published 2021-12-08.
How severe is CVE-2021-38504?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2021-38504 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.