{"id":"CVE-2024-3119","aliases":["CVE-2024-3119"],"related":[],"kind":"vulnerability","state":"published","title":"Stack-Buffer Overflow in 'Call-ID' and 'X-Call-ID' SIP Header Processing in sngrep","summary":"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. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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. The functions sip_get_callid and sip_get_xcallid in sip.c use the strncpy function to copy header contents into fixed-size buffers without checking the data length. This flaw allows remote attackers to execute arbitrary code or cause a denial of service (DoS) through specially crafted SIP messages.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de desbordamiento del búfer en todas las versiones de sngrep desde la v0.4.2, debido al manejo inadecuado de los encabezados SIP 'Call-ID' y 'X-Call-ID'. Las funciones sip_get_callid y sip_get_xcallid en sip.c usan la función strncpy para copiar el contenido del encabezado en buffers de tamaño fijo sin verificar la longitud de los datos. Esta falla permite a atacantes remotos ejecutar código arbitrario o provocar una denegación de servicio (DoS) a través de mensajes SIP especialmente manipulados.","source":"nvd"}],"published":"2024-04-09T23:55:43.501Z","modified":"2026-06-17T07:43:20.840Z","severity":{"scorer":"Pentraze","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"Pentraze","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-120","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0.4.2","lastAffected":"1.8.0","status":"affected"}],"vendor":"irontec","product":"sngrep","platforms":["Linux"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0.4.2","lastAffected":"1.8.0","status":"affected"}],"vendor":"irontec","product":"sngrep","cpe":"cpe:2.3:a:irontec:sngrep:0.4.2:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.4.2","fixed":"1.8.1"}],"vendor":"irontec","product":"sngrep","cpe":"cpe:2.3:a:irontec:sngrep:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/irontec/sngrep/releases/tag/v1.8.1","tags":["release-notes","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://pentraze.com/vulnerability-reports/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Pentraze","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-04-10T19:23:53.437Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-3119","url":"https://www.cve.org/CVERecord?id=CVE-2024-3119","licence":"CVE Terms of Use","modified":"2024-08-08T21:20:41.031Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-3119","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3119","licence":"Public domain","modified":"2026-06-17T07:43:20.840Z"}],"updatedAt":"2026-11-25T22:58:39.011Z","epss":{"score":0.018,"percentile":0.79131,"date":"2026-12-01T12:00:22.000Z"}}