VULNERABILITY INTELLIGENCE

CVE-2024-3120

CVSS score9 CRITICAL
EPSS probability1.84%
CISA KEVNot currently listed
Published2024-04-10
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Description

A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. The flaw is due to inadequate bounds checking when copying 'Content-Length' and 'Warning' headers into fixed-size buffers in the sip_validate_packet and sip_parse_extra_headers functions within src/sip.c. This vulnerability allows remote attackers to execute arbitrary code or cause a denial of service (DoS) via crafted SIP messages.

Weakness classification

  • 41c37e40-543d-43a2-b660-2fee83ea851a: CWE-120
  • nvd@nist.gov: CWE-787

Primary references