The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a resultant heap-based buffer overflow via a BMP image because multiplication of pitch and height is mishandled, as demonstrated by tjbench.
{
"sources": [
{
"imported": "2025-10-21T15:03:32.793Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2018-20330",
"modified": "2024-11-21T04:01:14.810Z",
"id": "CVE-2018-20330",
"published": "2018-12-21T09:29:00.247Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20330"
}
],
"license": "CC-BY-4.0"
}