CVE Vulnerabilities

CVE-2022-40960

Use After Free

Published: Dec 22, 2022 | Modified: Apr 15, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

Concurrent use of the URL parser with non-UTF-8 data was not thread-safe. This could lead to a use-after-free causing a potentially exploitable crash. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.

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

Name Vendor Start Version End Version
Firefox Mozilla * 105.0 (excluding)
Firefox_esr Mozilla * 102.3 (excluding)
Thunderbird Mozilla * 102.3 (excluding)
Red Hat Enterprise Linux 7 RedHat thunderbird-0:102.3.0-3.el7_9 *
Red Hat Enterprise Linux 7 RedHat firefox-0:102.3.0-6.el7_9 *
Red Hat Enterprise Linux 8 RedHat firefox-0:102.3.0-6.el8_6 *
Red Hat Enterprise Linux 8 RedHat thunderbird-0:102.3.0-3.el8_6 *
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions RedHat firefox-0:102.3.0-6.el8_1 *
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions RedHat thunderbird-0:102.3.0-3.el8_1 *
Red Hat Enterprise Linux 8.2 Extended Update Support RedHat firefox-0:102.3.0-6.el8_2 *
Red Hat Enterprise Linux 8.2 Extended Update Support RedHat thunderbird-0:102.3.0-3.el8_2 *
Red Hat Enterprise Linux 8.4 Extended Update Support RedHat firefox-0:102.3.0-6.el8_4 *
Red Hat Enterprise Linux 8.4 Extended Update Support RedHat thunderbird-0:102.3.0-3.el8_4 *
Red Hat Enterprise Linux 9 RedHat firefox-0:102.3.0-6.el9_0 *
Red Hat Enterprise Linux 9 RedHat thunderbird-0:102.3.0-3.el9_0 *
Firefox Ubuntu bionic *
Firefox Ubuntu focal *
Firefox Ubuntu trusty *
Firefox Ubuntu upstream *
Firefox Ubuntu xenial *
Thunderbird Ubuntu bionic *
Thunderbird Ubuntu focal *
Thunderbird Ubuntu jammy *
Thunderbird Ubuntu trusty *
Thunderbird Ubuntu upstream *
Thunderbird Ubuntu xenial *

Potential Mitigations

References