Affected versions
Ubuntu16.04:LTS/sngrep
- Affected versions
- * || =0.4.1-1 || =1.0.0-1 || =1.1.0-1 || =1.2.0-1 || =1.2.0-1build1
- Fixed version
- Not reported
Ubuntu18.04:LTS/sngrep
- Affected versions
- * || =1.4.3-1 || =1.4.4-1 || =1.4.4-2 || =1.4.5-1
- Fixed version
- Not reported
Ubuntu20.04:LTS/sngrep
- Affected versions
- * || =1.4.6-1 || =1.4.6-2
- Fixed version
- Not reported
Ubuntu22.04:LTS/sngrep
- Affected versions
- * || =1.4.9-1 || =1.4.10-1 || =1.4.10-1ubuntu0.1
- Fixed version
- Not reported
Ubuntu24.04:LTS/sngrep
- Affected versions
- * || =1.7.0-2 || =1.8.0-1 || =1.8.0-1build1 || =1.8.0-1build2
- Fixed version
- Not reported
Ubuntu25.10/sngrep
- Affected versions
- * || =1.8.2-1
- Fixed version
- Not reported
Ubuntu26.04:LTS/sngrep
- Affected versions
- * || =1.8.2-1 || =1.8.3-1
- Fixed version
- Not reported
Ubuntu26.10/sngrep
- Affected versions
- * || =1.8.3-1 || =1.8.4-1
- Fixed version
- Not reported
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.

