CVE-2023-34318 Heap-buffer-overflow in src/hcom.c

High 7.8 Published Updated

A heap buffer overflow in the SoX audio library allows attackers to execute arbitrary code, cause denial of service, or disclose information.

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

CVE-2023-34318 is a high-severity memory corruption vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 10 Jul 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

A heap buffer overflow vulnerability was found in sox, in the startread function at sox/src/hcom.c:160:41. This flaw can lead to a denial of service, code execution, or information disclosure.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2023-34318?

It affects 4 products.

Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Sound Exchange Project Sound Exchange.

How do I fix CVE-2023-34318?

Apply the vendor's patch.

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

Is CVE-2023-34318 being exploited?

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

All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities

Sources

Also known as AZL-44005, AZL-44595, DEBIAN-CVE-2023-34318, GHSA-f26w-p752-7ggh.

Is CVE-2023-34318 in your software?

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

Check your SBOMs for free