CVE-2021-40942 Memory corruption in n/a
A heap-buffer-overflow in GPAC MP4Box allows attackers to cause a denial of service via crafted input.
- 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
- None listed
What is CVE-2021-40942?
CVE-2021-40942 is a medium-severity memory corruption vulnerability in Gpac Gpac, published on 27 Jun 2022. 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 GPAC MP4Box v1.1.0, there is a heap-buffer-overflow in the function filter_parse_dyn_args function in filter_core/filter.c:1454, as demonstrated by GPAC. This can cause a denial of service (DOS).
Weakness: CWE-787
Which versions are affected by CVE-2021-40942?
It affects 1 product.
Products include Gpac Gpac.
How do I fix CVE-2021-40942?
No fix has been published for CVE-2021-40942 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-40942 being exploited?
There is no known exploitation of CVE-2021-40942 in the wild and no public exploit code.
Other vulnerabilities in Gpac Gpac
Sources
Also known as DEBIAN-CVE-2021-40942, GHSA-2x9j-5g97-m4vf, UBUNTU-CVE-2021-40942.