CVE-2023-31981 Memory corruption in n/a

High 7.8 Published Updated

A stack buffer overflow in Sngrep allows attackers to execute arbitrary code or cause a denial of service via crafted packets.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-31981?

CVE-2023-31981 is a high-severity memory corruption vulnerability in n/a, published on 9 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-787

Which versions are affected by CVE-2023-31981?

It affects 1 product.

Products include Irontec Sngrep.

How do I fix CVE-2023-31981?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-31981 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31981 exists.

Sources

Also known as DEBIAN-CVE-2023-31981, GHSA-27pq-ccjc-wxmc, UBUNTU-CVE-2023-31981.

Is CVE-2023-31981 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free