CVE Vulnerabilities

CVE-2022-38476

Use After Free

Published: Dec 22, 2022 | Modified: Apr 15, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A data race could occur in the PK11_ChangePW function, potentially leading to a use-after-free vulnerability. In Firefox, this lock protected the data when a user changed their master password. This vulnerability affects Firefox ESR < 102.2 and Thunderbird < 102.2.

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
Firefox_esrMozilla*102.2 (excluding)
ThunderbirdMozilla*102.2 (excluding)
Red Hat Enterprise Linux 7RedHatthunderbird-0:91.13.0-1.el7_9*
Red Hat Enterprise Linux 7RedHatfirefox-0:91.13.0-1.el7_9*
Red Hat Enterprise Linux 8RedHatthunderbird-0:91.13.0-1.el8_6*
Red Hat Enterprise Linux 8RedHatfirefox-0:91.13.0-1.el8_6*
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsRedHatthunderbird-0:91.13.0-1.el8_1*
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsRedHatfirefox-0:91.13.0-1.el8_1*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatthunderbird-0:91.13.0-1.el8_2*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatfirefox-0:91.13.0-1.el8_2*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatthunderbird-0:91.13.0-1.el8_4*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatfirefox-0:91.13.0-1.el8_4*
Red Hat Enterprise Linux 9RedHatthunderbird-0:91.13.0-1.el9_0*
Red Hat Enterprise Linux 9RedHatfirefox-0:91.13.0-1.el9_0*
ThunderbirdUbuntubionic*
ThunderbirdUbuntufocal*
ThunderbirdUbuntujammy*
ThunderbirdUbuntukinetic*
ThunderbirdUbuntutrusty*
ThunderbirdUbuntuupstream*
ThunderbirdUbuntuxenial*

Potential Mitigations

References