First published: Mon Sep 20 2021(Updated: )
An issue was discovered in libjpeg through 2020021. LineBuffer::FetchRegion() in linebuffer.cpp has a heap-based buffer overflow.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
IJG libjpeg | <=2020021 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-39518 is classified as a high severity vulnerability due to the potential for heap-based buffer overflow leading to arbitrary code execution.
To fix CVE-2021-39518, update libjpeg to version 2020021 or later, which contains a patch for the vulnerability.
Systems using libjpeg versions up to and including 2020021 are vulnerable to CVE-2021-39518.
CVE-2021-39518 is a heap-based buffer overflow vulnerability found in the LineBuffer::FetchRegion() function.
If exploited, CVE-2021-39518 can allow an attacker to execute arbitrary code on the affected system.