CVE Vulnerabilities

CVE-2024-2612

Use After Free

Published: Mar 19, 2024 | Modified: Jul 17, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.1 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

If an attacker could find a way to trigger a particular code path in SafeRefPtr, it could have triggered a crash or potentially be leveraged to achieve code execution. This vulnerability affects Firefox < 124, Firefox ESR < 115.9, and Thunderbird < 115.9.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
FirefoxMozilla*115.9 (excluding)
FirefoxMozilla*124.0 (excluding)
ThunderbirdMozilla*115.9 (excluding)
Red Hat Enterprise Linux 7RedHatfirefox-0:115.9.1-1.el7_9*
Red Hat Enterprise Linux 7RedHatthunderbird-0:115.9.0-1.el7_9*
Red Hat Enterprise Linux 8RedHatfirefox-0:115.9.1-1.el8_9*
Red Hat Enterprise Linux 8RedHatthunderbird-0:115.9.0-1.el8_9*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatfirefox-0:115.9.1-1.el8_2*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatthunderbird-0:115.9.0-1.el8_2*
Red Hat Enterprise Linux 8.2 Telecommunications Update ServiceRedHatfirefox-0:115.9.1-1.el8_2*
Red Hat Enterprise Linux 8.2 Telecommunications Update ServiceRedHatthunderbird-0:115.9.0-1.el8_2*
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionsRedHatfirefox-0:115.9.1-1.el8_2*
Red Hat Enterprise Linux 8.2 Update Services for SAP SolutionsRedHatthunderbird-0:115.9.0-1.el8_2*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatfirefox-0:115.9.1-1.el8_4*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatthunderbird-0:115.9.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatfirefox-0:115.9.1-1.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatthunderbird-0:115.9.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatfirefox-0:115.9.1-1.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatthunderbird-0:115.9.0-1.el8_4*
Red Hat Enterprise Linux 8.6 Extended Update SupportRedHatfirefox-0:115.9.1-1.el8_6*
Red Hat Enterprise Linux 8.6 Extended Update SupportRedHatthunderbird-0:115.9.0-1.el8_6*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatfirefox-0:115.9.1-1.el8_8*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatthunderbird-0:115.9.0-1.el8_8*
Red Hat Enterprise Linux 9RedHatfirefox-0:115.9.1-1.el9_3*
Red Hat Enterprise Linux 9RedHatthunderbird-0:115.9.0-1.el9_3*
Red Hat Enterprise Linux 9.0 Extended Update SupportRedHatfirefox-0:115.9.1-1.el9_0*
Red Hat Enterprise Linux 9.0 Extended Update SupportRedHatthunderbird-0:115.9.0-1.el9_0*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatfirefox-0:115.9.1-1.el9_2*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatthunderbird-0:115.9.0-1.el9_2*
FirefoxUbuntufocal*
Mozjs102Ubuntudevel*
Mozjs102Ubuntuesm-apps/noble*
Mozjs102Ubuntujammy*
Mozjs102Ubuntumantic*
Mozjs102Ubuntunoble*
Mozjs102Ubuntuupstream*
Mozjs38Ubuntuesm-apps/bionic*
Mozjs38Ubuntuupstream*
Mozjs52Ubuntuesm-apps/focal*
Mozjs52Ubuntuesm-infra/bionic*
Mozjs52Ubuntufocal*
Mozjs52Ubuntuupstream*
Mozjs68Ubuntuesm-infra/focal*
Mozjs68Ubuntufocal*
Mozjs68Ubuntuupstream*
Mozjs78Ubuntuesm-apps/jammy*
Mozjs78Ubuntujammy*
Mozjs78Ubuntuupstream*
Mozjs91Ubuntujammy*
Mozjs91Ubuntuupstream*
ThunderbirdUbuntufocal*
ThunderbirdUbuntujammy*
ThunderbirdUbuntumantic*

Potential Mitigations

References