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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| irontec | sngrep | 1.4.1 – ≤ 1.8.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sngrep | 1.8.1-1 | — |
| Debian 13 | sngrep | 1.8.1-1 | — |
| Debian 12 | sngrep | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | sngrep | No fix yet | — |
| Ubuntu 26.04 LTS | sngrep | No fix yet | — |
| Ubuntu 25.10 | sngrep | No fix yet | — |
| Ubuntu 24.04 LTS | sngrep | No fix yet | — |
| Ubuntu 22.04 LTS | sngrep | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | sngrep | No fix yet | — |
| Ubuntu 18.04 LTS | sngrep | No fix yet | — |
| Ubuntu 16.04 LTS | sngrep | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | sngrep | 1.8.1-bp155.2.3.1 | openSUSE-SU-2024:0106-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sngrep | 1.8.1-1.1 | openSUSE-SU-2024:13856-1 |
| openSUSE Leap 15.5 | sngrep | 1.8.1-bp155.2.3.1 | openSUSE-SU-2024:0106-1 |
Advisories 2
- openSUSE-SU-2024:0106-1 Security update for sngrep SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13856-1 sngrep-1.8.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026