sngrep — security advisory
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.
- Products
- sngrep
- Affected versions
- 0.4.1-1, 1.0.0-1, 1.1.0-1, 1.2.0-1, 1.2.0-1build1, 1.4.10-1, 1.4.10-1ubuntu0.1, 1.4.3-1, 1.4.4-1, 1.4.4-2, 1.4.5-1, 1.4.6-1, 1.4.6-2, 1.4.9-1, 1.7.0-2, 1.8.0-1, 1.8.0-1build1, 1.8.0-1build2, 1.8.2-1, 1.8.3-1, 1.8.4-1
- Fixed versions
- Not specified
- CVEs
- CVE-2024-3119
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:12 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2024-3119
sngrep
Fixed versions: Not specified
sngrep
Fixed versions: Not specified
sngrep
Fixed versions: Not specified
sngrep
Fixed versions: Not specified
sngrep
Fixed versions: Not specified
sngrep
Fixed versions: Not specified
sngrep
Fixed versions: Not specified
sngrep
Fixed versions: Not specified
Complete source record
{
"id": "15866314c80c6fd1b172669e9f87c0fa483147d64eb91e7a173b7452235c45c1",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-3119",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-3119",
"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.",
"evidence": "osv:UBUNTU-CVE-2024-3119",
"products": [
{
"name": {
"value": "sngrep",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.4.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.0.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.2.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.2.0-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sngrep",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.3-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.4-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.4-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.4.5-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "sngrep",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.6-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.4.6-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "sngrep",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.9-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.4.10-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.4.10-1ubuntu0.1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "sngrep",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0-2",
"evidence": "/affected/4/versions"
},
{
"value": "1.8.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.8.0-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.8.0-1build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "sngrep",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.2-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "sngrep",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.3-1",
"evidence": "/affected/6/versions"
},
{
"value": "1.8.4-1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "sngrep",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.2-1",
"evidence": "/affected/7/versions"
},
{
"value": "1.8.3-1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2024-3119",
"aliases": [
"UBUNTU-CVE-2024-3119"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.4.1-1",
"1.0.0-1",
"1.1.0-1",
"1.2.0-1",
"1.2.0-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.2.0-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.4.3-1",
"1.4.4-1",
"1.4.4-2",
"1.4.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.4.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.4.6-1",
"1.4.6-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.4.6-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.4.9-1",
"1.4.10-1",
"1.4.10-1ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.4.10-1ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.7.0-2",
"1.8.0-1",
"1.8.0-1build1",
"1.8.0-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.8.0-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.8.2-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.8.2-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.8.3-1",
"1.8.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.8.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sngrep",
"purl": "pkg:deb/ubuntu/sngrep?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.8.2-1",
"1.8.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-3119.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sngrep",
"binary_version": "1.8.3-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:44.382583732Z",
"provider": "osv",
"upstream": [
"CVE-2024-3119"
],
"references": [
"https://ubuntu.com/security/CVE-2024-3119",
"https://github.com/irontec/sngrep/pull/480/commits/73c15c82d14c69df311e05fa75da734faafd365f",
"https://github.com/irontec/sngrep/releases/tag/v1.8.1",
"https://pentraze.com/vulnerability-reports/",
"https://www.cve.org/CVERecord?id=CVE-2024-3119"
]
},
"related_cves": [
{
"value": "CVE-2024-3119",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 356100,
"published_at": "2024-04-10T00:15:00+00:00"
}