CVE-2023-31982 Memory corruption in n/a

High 7.8 Published Updated

A heap buffer overflow in Sngrep allows attackers to execute arbitrary code or cause a denial of service via crafted IP 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-31982?

CVE-2023-31982 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 heap buffer overflow via the function capture_packet_reasm_ip at /src/capture.c.

Weakness: CWE-787

Which versions are affected by CVE-2023-31982?

It affects 1 product.

Products include Irontec Sngrep.

How do I fix CVE-2023-31982?

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-31982 being exploited?

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

Sources

Also known as DEBIAN-CVE-2023-31982, GHSA-xf28-8cq4-qppx, UBUNTU-CVE-2023-31982.

Is CVE-2023-31982 in your software?

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

Check your SBOMs for free