Description
sngrep through 1.8.4 contains stack buffer overflow vulnerabilities in SIP attribute formatting routines when header values exceed the 255-byte buffer limit. Attackers can craft malicious SIP packets with oversized Call-ID, X-Call-ID, or other header fields to overflow stack buffers and cause crashes or execute arbitrary code during packet parsing and rendering.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| irontec | sngrep | ≤ 1.8.4 | — |
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.4-2 | — |
| Debian 13 | sngrep | No fix yet | — |
| 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 24.04 LTS | sngrep | No fix yet | — |
| Ubuntu 22.04 LTS | sngrep | No fix yet | — |
| Ubuntu 20.04 LTS | sngrep | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | sngrep | No fix yet | — |
| Ubuntu 16.04 LTS | sngrep | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | sngrep | 1.8.4-2.1 | openSUSE-SU-2026:11791-1 |
Advisories 1
- openSUSE-SU-2026:11791-1 sngrep-1.8.4-2.1 on GA media SUSE / openSUSE Security Updates · Sep 16, 2026
References
- Patch Commit patch
- https://github.com/irontec/sngrep product
- https://github.com/irontec/sngrep/blob/v1.8.4/src/sip_call.c#L260 technical-description
- https://github.com/irontec/sngrep/blob/v1.8.4/src/sip_msg.c#L150 technical-description
- VulnCheck Advisory: sngrep through 1.8.4 Stack Buffer Overflow via SIP Headers third-party-advisory