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 handlerequest function, where CRYPTOSIZE 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).

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-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-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 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