# CVE-2023-31981: Sngrep v1.6.0 was discovered to contain a stack buffer overflow via the function packetsetpayload at /src/packet.c.

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-09T00:00:00.000Z
- Modified: 2026-06-17T05:57:46.327Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Sngrep v1.6.0 was discovered to contain a stack buffer overflow via the function packet_set_payload at /src/packet.c.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- irontec sngrep: 1.6.0

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/irontec/sngrep/issues/430> (exploit, issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2023-31981](https://www.cve.org/CVERecord?id=CVE-2023-31981), CVE Terms of Use, modified 2025-01-29
- NVD: [CVE-2023-31981](https://nvd.nist.gov/vuln/detail/CVE-2023-31981), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-31981 · Whole record: https://cve.day/CVE-2023-31981.json · Rebuilt by cve.day 2026-11-25T22:58:24.004Z
