CVE-2021-39518 Memory corruption in n/a
A heap-based buffer overflow in libjpeg allows attackers to execute arbitrary code or cause denial of service via crafted images.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-39518?
CVE-2021-39518 is a medium-severity memory corruption vulnerability in n/a, published on 20 Sep 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue was discovered in libjpeg through 2020021. LineBuffer::FetchRegion() in linebuffer.cpp has a heap-based buffer overflow.
Weakness: CWE-787
Which versions are affected by CVE-2021-39518?
It affects 1 product.
Products include Jpeg Libjpeg.
How do I fix CVE-2021-39518?
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-2021-39518 being exploited?
There is no known exploitation of CVE-2021-39518 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2021-39518, GHSA-75wx-7fqq-f6pf, UBUNTU-CVE-2021-39518.