---
id: CVE-2026-12298
title: Memory safety bug fixed in Firefox 152
summary: >-
  Memory safety bug fixed in Firefox 152. This vulnerability was fixed in
  Firefox 152, Firefox ESR 140.12, Thunderbird 152, and Thunderbird 140.12.
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-125
  - CWE-416
  - CWE-787
  - CWE-843
vendor: mozilla
product: firefox
affected:
  - firefox < 152.0
  - 'firefox >= 140.0, < 140.12.0'
  - thunderbird < 152.0.0
  - 'thunderbird >= 140.0, < 140.12.0'
patched:
  - firefox 140.12.0
  - thunderbird 140.12.0
published: '2026-06-16'
updated: '2026-07-07'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-12298'
references:
  - url: 'https://bugzilla.mozilla.org/show_bug.cgi?id=2041981'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2026-57/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2026-58/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2026-60/'
    label: security@mozilla.org
  - url: 'https://www.mozilla.org/security/advisories/mfsa2026-61/'
    label: security@mozilla.org
  - url: 'https://access.redhat.com/errata/RHSA-2026:27717'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:27733'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:27734'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:29940'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:30846'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:33445'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:36100'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:36101'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:36102'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:36103'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-12298'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2489248'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12298.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00306
epssPercentile: 0.2094
ingestedAt: '2026-07-07T13:53:11.838Z'
---

## Overview

Memory safety bug fixed in Firefox 152. This vulnerability was fixed in Firefox 152, Firefox ESR 140.12, Thunderbird 152, and Thunderbird 140.12.

## Affected

- `firefox < 152.0`
- `firefox >= 140.0, < 140.12.0`
- `thunderbird < 152.0.0`
- `thunderbird >= 140.0, < 140.12.0`

## Remediation

Upgrade past the affected range:

- `firefox 140.12.0`
- `thunderbird 140.12.0`
