CVE-2021-30019 Memory corruption in n/a

Medium 5.5 Published Updated

A crafted file can trigger a heap overflow in GPAC, potentially allowing arbitrary code execution or denial of service.

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-2021-30019?

CVE-2021-30019 is a medium-severity memory corruption vulnerability in Gpac Gpac, published on 19 Apr 2021. 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

In the adts_dmx_process function in filters/reframe_adts.c in GPAC 1.0.1, a crafted file may cause ctx->hdr.frame_size to be smaller than ctx->hdr.hdr_size, resulting in size to be a negative number and a heap overflow in the memcpy.

Weakness: CWE-787

Which versions are affected by CVE-2021-30019?

It affects 1 product.

Products include Gpac Gpac.

How do I fix CVE-2021-30019?

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-2021-30019 being exploited?

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

All Gpac Gpac vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-30019, GHSA-5cg3-jqg5-68vf, UBUNTU-CVE-2021-30019.

Is CVE-2021-30019 in your software?

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

Check your SBOMs for free