CVE-2023-31982
NixOS vulnerability analysis and mitigation

Overview

Sngrep version 1.6.0 was discovered to contain a heap buffer overflow vulnerability, identified as CVE-2023-31982. The vulnerability was found in the capturepacketreasm_ip function located in the /src/capture.c file. This security issue affects the Sngrep packet capture and analysis tool (GitHub Issue, NVD).

Technical details

The vulnerability is classified as a heap buffer overflow (CWE-787: Out-of-bounds Write) with a CVSS v3.1 base score of 7.8 (HIGH). The attack vector is local (AV:L), with low attack complexity (AC:L), requiring no privileges (PR:N) but user interaction (UI:R). The scope is unchanged (S:U), with high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H) (NVD).

Impact

The heap buffer overflow vulnerability can lead to potential code execution, system crashes, or memory corruption. The high CVSS impact scores for confidentiality, integrity, and availability indicate that successful exploitation could result in significant system compromise (NVD).

Mitigation and workarounds

The vulnerability has been fixed in versions after 1.6.0. Users are advised to upgrade to the latest version of sngrep. The issue is confirmed as fixed in version 1.8.2 (Debian Tracker).

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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 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