CVE-2021-44847
NixOS vulnerability analysis and mitigation

Overview

A stack-based buffer overflow vulnerability (CVE-2021-44847) was discovered in the handle_request function in DHT.c in toxcore versions 0.1.9 through 0.1.11 and 0.2.0 through 0.2.12. The vulnerability is caused by an improper length calculation during the handling of received network packets (NVD).

Technical details

The vulnerability stems from an improper calculation of crypto size in the handle_request function, where CRYPTO_SIZE is used in a subtraction as second argument. Due to operator precedence rules and missing braces, only '1' is subtracted instead of the intended value, leading to a stack-based buffer overflow (GitHub PR). The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

The vulnerability allows remote attackers to crash the process or potentially execute arbitrary code via a network packet. The high CVSS score indicates that successful exploitation could lead to complete system compromise with no special privileges or user interaction required (NVD).

Exploitability

The vulnerability was discovered through ASAN (Address Sanitizer) testing, which revealed a stack buffer overflow condition. While the initial discovery was made with the crypto layer patched away, the security implications were considered serious enough to warrant immediate attention (GitHub PR).

Mitigation and workarounds

The vulnerability was fixed in toxcore version 0.2.13. Users are advised to upgrade to this version or later. The fix involves correcting the crypto size computation and adding proper braces around macro values (Fedora Update).

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-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-branding-upstream
NoYesAug 18, 2026

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