PT-2020-6716 · Mozilla+6 · Firefox+6
Ronald Crane
·
Published
2020-06-30
·
Updated
2024-12-12
·
CVE-2020-12422
CVSS v2.0
10
High
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Firefox versions prior to 78
Description
The issue arises in non-standard configurations where a JPEG image created by JavaScript can cause an internal variable to overflow. This overflow results in an out of bounds write, leading to memory corruption and a potentially exploitable crash. The vulnerability is related to the
nsJPEGEncoder::emptyOutputBuffer() function, which is associated with reading and writing data beyond buffer boundaries in memory. Exploitation of this issue could allow a remote attacker to execute arbitrary code.Recommendations
For Firefox versions prior to 78, update to version 78 or later to resolve the issue. As a temporary workaround, consider restricting the use of JavaScript-created JPEG images until a patch is applied. Avoid using the
nsJPEGEncoder::emptyOutputBuffer() function in affected configurations to minimize the risk of exploitation.Fix
Out of bounds Read
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Centos
Firefox
Linuxmint
Red Hat
Suse
Ubuntu