jp2/opjdecompress.c in OpenJPEG through 2.3.1 has a use-after-free that can be triggered if there is a mix of valid and invalid files in a directory operated on by the decompressor. Triggering a double-free may also be possible. This is related to calling opjimage_destroy twice.
{
"sources": [
{
"published": "2020-06-29T21:15:14.150Z",
"imported": "2026-05-25T01:08:36.977Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-15389",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15389",
"id": "CVE-2020-15389",
"modified": "2024-11-21T05:05:28.070Z",
"database_specific": {
"status": "Modified"
}
}
],
"license": "CC-BY-4.0"
}