Sngrep
Monthly
Stack buffer overflows in sngrep through 1.8.4 allow unauthenticated remote attackers to crash or execute arbitrary code on any host running sngrep while actively capturing SIP traffic. The flaws reside in `call_get_attribute()` (src/sip_call.c) and `msg_get_attribute()` (src/sip_msg.c), where unbounded `sprintf` calls copy SIP header values - including Call-ID, X-Call-ID, Reason, From, To, Contact, and request/response strings - into a fixed 255-byte stack buffer without length enforcement. No public exploit code or CISA KEV listing has been identified at time of analysis, but the upstream fix commit is publicly accessible, making independent weaponization feasible.
An infinite loop in capture_packet_reasm_ip() in src/capture.c makes sngrep 1.9.0 and earlier spin a capture thread at full CPU and stop processing packets when it opens a pcap file whose link type is NFLOG and that carries a non-payload TLV with a length field under 4. The CVSS 4.0 score of 6.8 and the assessed 3.1 vector (AV:L/AC:L/PR:N/UI:R, availability-only impact) reflect a local, availability-only denial of service: the attacker must first deliver the malformed capture and the victim must open it (UI:P), and there is no confidentiality or integrity effect and no code execution. No CISA KEV entry or confirmed working exploit code is associated with this issue; a public upstream issue report and a write-up reference exist but are not verified as working exploit code, and the priority signal places remediation in the normal monthly cycle rather than an emergency response.
An out-of-bounds stack read in Irontec sngrep through 1.9.0 can crash the SIP capture and analysis tool or expose a small amount of adjacent stack memory in displayed SIP fields when a crafted UDP/TCP SIP payload lands at the 10240-byte boundary. The issue is remotely triggerable without authentication according to the CVSS PR:N vector, but exploitation is high-complexity and requires sngrep to be actively capturing the relevant traffic or an operator to open a crafted pcap. No CISA KEV entry or working exploit code is confirmed; the provided references include a public technical write-up and upstream issue, and the assessed impact is limited to low confidentiality and availability effects.
Irontec Sngrep v1.8.1 was discovered to contain a heap buffer overflow via the function rtp_check_packet at /sngrep/src/rtp.c. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Buffer Copy without Size Check vulnerability could allow attackers to overflow a buffer to corrupt adjacent memory.
A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Buffer Copy without Size Check vulnerability could allow attackers to overflow a buffer to corrupt adjacent memory.
Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function capture_ws_check_packet at /src/capture.c. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function capture_packet_reasm_ip at /src/capture.c. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Sngrep v1.6.0 was discovered to contain a stack buffer overflow via the function packet_set_payload at /src/packet.c. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Stack buffer overflows in sngrep through 1.8.4 allow unauthenticated remote attackers to crash or execute arbitrary code on any host running sngrep while actively capturing SIP traffic. The flaws reside in `call_get_attribute()` (src/sip_call.c) and `msg_get_attribute()` (src/sip_msg.c), where unbounded `sprintf` calls copy SIP header values - including Call-ID, X-Call-ID, Reason, From, To, Contact, and request/response strings - into a fixed 255-byte stack buffer without length enforcement. No public exploit code or CISA KEV listing has been identified at time of analysis, but the upstream fix commit is publicly accessible, making independent weaponization feasible.
An infinite loop in capture_packet_reasm_ip() in src/capture.c makes sngrep 1.9.0 and earlier spin a capture thread at full CPU and stop processing packets when it opens a pcap file whose link type is NFLOG and that carries a non-payload TLV with a length field under 4. The CVSS 4.0 score of 6.8 and the assessed 3.1 vector (AV:L/AC:L/PR:N/UI:R, availability-only impact) reflect a local, availability-only denial of service: the attacker must first deliver the malformed capture and the victim must open it (UI:P), and there is no confidentiality or integrity effect and no code execution. No CISA KEV entry or confirmed working exploit code is associated with this issue; a public upstream issue report and a write-up reference exist but are not verified as working exploit code, and the priority signal places remediation in the normal monthly cycle rather than an emergency response.
An out-of-bounds stack read in Irontec sngrep through 1.9.0 can crash the SIP capture and analysis tool or expose a small amount of adjacent stack memory in displayed SIP fields when a crafted UDP/TCP SIP payload lands at the 10240-byte boundary. The issue is remotely triggerable without authentication according to the CVSS PR:N vector, but exploitation is high-complexity and requires sngrep to be actively capturing the relevant traffic or an operator to open a crafted pcap. No CISA KEV entry or working exploit code is confirmed; the provided references include a public technical write-up and upstream issue, and the assessed impact is limited to low confidentiality and availability effects.
Irontec Sngrep v1.8.1 was discovered to contain a heap buffer overflow via the function rtp_check_packet at /sngrep/src/rtp.c. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
A stack-buffer overflow vulnerability exists in all versions of sngrep since v1.4.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Buffer Copy without Size Check vulnerability could allow attackers to overflow a buffer to corrupt adjacent memory.
A buffer overflow vulnerability exists in all versions of sngrep since v0.4.2, due to improper handling of 'Call-ID' and 'X-Call-ID' SIP headers. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Buffer Copy without Size Check vulnerability could allow attackers to overflow a buffer to corrupt adjacent memory.
Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function capture_ws_check_packet at /src/capture.c. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Sngrep v1.6.0 was discovered to contain a heap buffer overflow via the function capture_packet_reasm_ip at /src/capture.c. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
Sngrep v1.6.0 was discovered to contain a stack buffer overflow via the function packet_set_payload at /src/packet.c. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. Public exploit code available and no vendor patch available.