CVE-2023-5371 Memory Allocation with Excessive Size Value in Wireshark

Medium 5.3 Published Updated

Attackers can cause denial of service in Wireshark via crafted packets or files due to excessive memory allocation in the RTPS dissector.

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-5371?

CVE-2023-5371 is a medium-severity denial of service vulnerability in Wireshark Wireshark, published on 4 Oct 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

RTPS dissector memory leak in Wireshark 4.0.0 to 4.0.8 and 3.6.0 to 3.6.16 allows denial of service via packet injection or crafted capture file

Weakness: CWE-770, CWE-789

Which versions are affected by CVE-2023-5371?

It affects 1 product.

Linux distribution packages (7)
wireshark SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions3.6.17-150000.3.103.1
wireshark SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions3.6.17-150000.3.103.1
wireshark SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions3.6.17-150000.3.103.1
wireshark SUSE:Linux Enterprise Module for Desktop Applications 15 SP5All versions3.6.17-150000.3.103.1
wireshark SUSE:Manager Proxy 4.2All versions3.6.17-150000.3.103.1
wireshark SUSE:Manager Server 4.2All versions3.6.17-150000.3.103.1
wireshark openSUSE:TumbleweedAll versions4.0.10-1.1

Products include Wireshark Wireshark.

How do I fix CVE-2023-5371?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-5371 being exploited?

There is no known exploitation of CVE-2023-5371 in the wild and no public exploit code.

All Wireshark Wireshark vulnerabilities

Sources

Also known as AZL-31120, AZL-37056, CLSA-2026-1786619933, CLSA-2026-1786718192, DEBIAN-CVE-2023-5371, GHSA-j7xf-pgw2-75mr and 3 more.

Is CVE-2023-5371 in your software?

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

Check your SBOMs for free