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.
{
"license": "CC-BY-4.0",
"sources": [
{
"id": "CVE-2018-20330",
"published": "2018-12-21T09:29:00.247Z",
"modified": "2026-06-17T01:52:37.997Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2018-20330",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20330",
"imported": "2026-07-17T20:41:33.995Z",
"database_specific": {
"status": "Modified"
}
}
]
}