CVE-2021-29985
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-29985 is a use-after-free vulnerability discovered in Mozilla Firefox and Thunderbird's media channels that could lead to memory corruption and potentially exploitable crashes. The vulnerability affects Thunderbird < 78.13, Thunderbird < 91, Firefox ESR < 78.13, and Firefox < 91. It was discovered by Marcin 'Icewall' Noga of Cisco Talos and publicly disclosed on August 10, 2021 (Mozilla Advisory).

Technical details

The vulnerability is classified as a use-after-free (CWE-416) issue in the MediaCacheStream::NotifyDataReceived method. The issue occurs when an nsBufferedStream object gets deallocated through HTMLAudioElement destruction but is later incorrectly accessed during a mozilla::MediaCacheStream::NotifyDataReceived method call. The vulnerability has a CVSS v3.1 base score of 8.8 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could result in memory corruption and potentially exploitable crashes. With proper heap grooming, an attacker could potentially gain arbitrary code execution capabilities. The vulnerability requires user interaction, as a victim needs to visit a malicious webpage to trigger the vulnerability (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox 91.0, Firefox ESR 78.13, Thunderbird 78.13, and Thunderbird 91.0. Users are advised to upgrade to these or later versions. For Gentoo Linux users, specific upgrade commands were provided to update to the fixed versions (Gentoo Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management