{"id":"CVE-2018-20847","aliases":["ALSA-2021:4251","DEBIAN-CVE-2018-20847","DLA-1851-1","EUVD-2018-13387","GHSA-m375-m9p8-9949","RHSA-2021:4251","RLSA-2021:4251","UBUNTU-CVE-2018-20847","USN-4497-1"],"status":"published","title":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function...","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02174,"percentile":0.82441,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2019-06-26T17:07:43Z","modified":"2026-10-29T11:01:09Z","fixes":[{"ecosystem":"Debian:12","package":"openjpeg2","fixed_in":["2.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openjpeg2","fixed_in":["2.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openjpeg2","fixed_in":["2.3.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","fixed_in":["2.1.2-1.1+deb9u5build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:8","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"AlmaLinux:8","package":"openjpeg2-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"AlmaLinux:8","package":"openjpeg2-devel-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"AlmaLinux:8","package":"openjpeg2-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Debian:12","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2+deb8u7"}]}],"versions":["2.1.0-2","2.1.0-2+deb8u1","2.1.0-2+deb8u2","2.1.0-2+deb8u3","2.1.0-2+deb8u4","2.1.0-2+deb8u5","2.1.0-2+deb8u6"],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"openjpeg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"openjpeg2-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"openjpeg2-devel-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"openjpeg2-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"openjpeg2-tools-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"openjpeg2-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"openjpeg2-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"openjpeg2-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"openjpeg2-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::crb","package":"openjpeg2-tools-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Rocky Linux:8","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.0-4.el8"}]}],"bundled":14},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u5build0.16.04.1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1","2.1.2-1.1+deb9u2build0.1","2.1.2-1.1+deb9u3build0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.74+dfsg0-4build2","2.75.a+dfsg0-2ubuntu2","2.75.a+dfsg0-2ubuntu3","2.76.b+dfsg0-3","2.76.b+dfsg0-3build1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"emscripten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"insighttoolkit4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.1-1ubuntu3","4.8.1-1ubuntu4","4.8.2-3.1ubuntu1","4.9.0-3ubuntu2","4.9.0-4ubuntu1","4.9.0-4ubuntu1.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.4.1-1","4.4.1-1.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.78.c+dfsg0-2build1","2.79+dfsg0-2build1","2.79+dfsg0-3","2.79+dfsg0-3build1","2.79.b+dfsg0-1","2.79.b+dfsg0-1ubuntu1.18.04.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"emscripten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.22.1-1build1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"insighttoolkit4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.2-dfsg1-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"qtwebengine-opensource-src","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.9.1+dfsg-4","5.9.1+dfsg-4ubuntu1","5.9.2+dfsg-2ubuntu1","5.9.3+dfsg-0ubuntu1","5.9.4+dfsg-0ubuntu1","5.9.5+dfsg-0ubuntu2","5.9.5+dfsg-0ubuntu2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5-1","5.0.2-1","5.0.2-1build1","5.0.2-1build2","5.0.2-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.80+dfsg-3","2.80+dfsg-3build1","2.80+dfsg-4","2.81.a+dfsg-5build3","2.82+dfsg-1","2.82+dfsg-1build1","2.82.a+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"insighttoolkit4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.12.2-dfsg1-4.1ubuntu1","4.13.2-dfsg1-1ubuntu1","4.13.2-dfsg1-4ubuntu1","4.13.2-dfsg1-6","4.13.2-dfsg1-6ubuntu1","4.13.2-dfsg1-8"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"qtwebengine-opensource-src","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.12.4+dfsg-1ubuntu1","5.12.4+dfsg-1ubuntu3","5.12.5+dfsg-3ubuntu1","5.12.5+dfsg-6ubuntu2","5.12.5+dfsg-7","5.12.5+dfsg-7build1","5.12.8+dfsg-0ubuntu1","5.12.8+dfsg-0ubuntu1.1","5.12.8+dfsg-0ubuntu1.1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.3-1build2","5.0.3-1build3","5.0.3-1build4","5.0.3-1build5","5.0.3-1ubuntu0.20.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.93.3+dfsg-3","2.93.5+dfsg-1","2.93.5+dfsg-1build1","3.0.1+dfsg-7"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"emscripten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.13~dfsg-1","3.1.1~dfsg+~1.39.6-5ubuntu4","3.1.2~dfsg+~1.39.6-6ubuntu1","3.1.3~dfsg-4ubuntu1","3.1.3~dfsg-5ubuntu1","3.1.4~dfsg-7ubuntu1","3.1.5~dfsg-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"insighttoolkit4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.13.3withdata-dfsg1-4.1","4.13.3withdata-dfsg2-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"qtwebengine-opensource-src","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.15.6+dfsg-1","5.15.6+dfsg-2","5.15.7+dfsg-2","5.15.8+dfsg-1","5.15.8+dfsg-1build1","5.15.8+dfsg-1build2","5.15.8+dfsg-2","5.15.9+dfsg-1","5.15.9+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.3-1build8","5.0.3-1build9","5.0.3-1ubuntu0.22.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2+dfsg-2ubuntu1","3.6.2+dfsg-2ubuntu2","4.0.2+dfsg-1ubuntu1","4.0.2+dfsg-1ubuntu2","4.0.2+dfsg-1ubuntu4","4.0.2+dfsg-1ubuntu6","4.0.2+dfsg-1ubuntu7","4.0.2+dfsg-1ubuntu8"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"emscripten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.6~dfsg-5","3.1.6~dfsg-6","3.1.6~dfsg-7"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"qtwebengine-opensource-src","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.15.15+dfsg-2","5.15.15+dfsg-2build2","5.15.15+dfsg-2ubuntu1","5.15.16+dfsg-1","5.15.16+dfsg-1ubuntu2","5.15.16+dfsg-1ubuntu4","5.15.16+dfsg-3","5.15.16+dfsg-3ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.3+dfsg-1build4","5.1.3+dfsg-1build5","5.1.3+dfsg-1build6","5.1.3+dfsg-1build7","5.1.3+dfsg-1build8","5.1.3+dfsg-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2+dfsg-2","4.3.2+dfsg-2ubuntu1","4.3.2+dfsg-2ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"emscripten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.69+dfsg-1","3.1.69+dfsg-3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"qtwebengine-opensource-src","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.15.18+dfsg-2","5.15.18+dfsg-2build1","5.15.19+dfsg-1","5.15.19+dfsg2-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.3+dfsg-3","5.1.3+dfsg-3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1+dfsg-1ubuntu1","5.0.1+dfsg-1ubuntu3","5.0.1+dfsg-3build1","5.0.1+dfsg-5"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"emscripten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.69+dfsg-4","6.0.5+dfsg+~1.41.5-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"qtwebengine-opensource-src","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.15.19+dfsg2-4","5.15.19+dfsg2-6","5.15.19+dfsg2-7"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.1+dfsg-3build1","6.0.1+dfsg-3build2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"blender","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.2+dfsg-2ubuntu2","5.0.1+dfsg-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"emscripten","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.69+dfsg-3","3.1.69+dfsg-4"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"texmaker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.3+dfsg-3build1","6.0.1+dfsg-3","6.0.1+dfsg-3build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"qtwebengine-opensource-src","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.15.19+dfsg2-1","5.15.19+dfsg2-1build1","5.15.19+dfsg2-2","5.15.19+dfsg2-3","5.15.19+dfsg2-4","5.15.19+dfsg2-4ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u5build0.16.04.1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1","2.1.2-1.1+deb9u2build0.1","2.1.2-1.1+deb9u3build0.16.04.1"],"bundled":7}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"uclouvain","product":"openjpeg"}],"references":[{"url":"https://github.com/uclouvain/openjpeg/pull/1168/commits/c58df149900df862806d0e892859b41115875845","tags":["x_refsource_MISC","x_transferred","Patch","fix","report"]},{"url":"https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949","tags":["x_refsource_MISC","x_transferred","Patch","fix","report"]},{"url":"https://github.com/uclouvain/openjpeg/issues/431","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"http://www.securityfocus.com/bid/108921","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00010.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20847","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-m375-m9p8-9949"},{"url":"https://errata.almalinux.org/8/ALSA-2021-4251.html","tags":["advisory"]},{"url":"https://vulners.com/cve/CVE-2018-20845","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2018-20847","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2018-5727","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2018-5785","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2019-12973","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-15389","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-27814","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-27823","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-27824","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-27842","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-27843","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2020-27845","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2021-29338","tags":["report"]},{"url":"https://vulners.com/cve/CVE-2021-3575","tags":["report"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20847","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2021:4251","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.5_release_notes/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1536552","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1537758","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1728505","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1728509","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1732270","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1852869","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1901998","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1905723","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1905762","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1907513","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1907516","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1907523","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1950101","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1957616","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4251.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-5727","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5727","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5727","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-5785","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5785","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5785","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-20845","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20845","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20845","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-20847","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20847","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2019-12973","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12973","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12973","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-15389","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-15389","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15389","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-27814","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27814","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27814","tags":["advisory"]},{"url":"https://github.com/uclouvain/openjpeg/issues/1283","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-27823","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27823","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27823","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-27824","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27824","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27824","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-27842","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27842","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27842","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-27843","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27843","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27843","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-27845","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27845","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27845","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3575","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3575","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3575","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-29338","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29338","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29338","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2021:4251","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-20847","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4497-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-9112","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-21010","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12973","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-6851","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-8112","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-15389","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-20847","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","status":"published","published":"2019-06-26T17:07:43Z","modified":"2024-08-05T12:12:28.701Z","updated_at":"2026-11-02T14:35:00.237825Z"}],"euvd":[{"id":"EUVD-2018-13387","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","status":"published","published":"2019-06-26T17:07:43Z","modified":"2024-08-05T12:12:28Z","updated_at":"2026-11-03T02:39:29.769885Z"}],"ghsa":[{"id":"GHSA-m375-m9p8-9949","title":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function...","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","status":"published","published":"2022-05-24T16:48:40Z","modified":"2023-02-27T18:32:04Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:54:14.106206Z"}],"nvd":[{"id":"CVE-2018-20847","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","status":"published","published":"2019-06-26T18:15:10.057Z","modified":"2026-06-17T01:53:35.183Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:04:57.307075Z"}],"osv":[{"id":"CVE-2018-20847","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","status":"published","published":"2019-06-26T18:15:10.057Z","modified":"2026-10-20T13:19:35.67385149Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-20847","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","status":"published","published":"2019-06-26T18:15:10.057Z","modified":"2026-10-23T18:03:05.457174157Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"RHSA-2021:4251","title":"Red Hat Security Advisory: openjpeg2 security update","status":"published","published":"2024-09-16T06:03:27Z","modified":"2026-06-27T10:14:24Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:08.619234Z"},{"id":"RLSA-2021:4251","title":"Moderate: openjpeg2 security update","description":"OpenJPEG is an open source library for reading and writing image files in JPEG2000 format.\n\nThe following packages have been upgraded to a later upstream version: openjpeg2 (2.4.0).\n\nSecurity Fix(es):\n\n* openjpeg: use-after-free and double-free via a mix of valid and invalid files in a directory operated on by the decompressor (CVE-2020-15389)\n\n* openjpeg: heap-buffer-overflow in lib/openjp2/mqc.c could result in DoS (CVE-2020-27814)\n\n* openjpeg: heap-buffer-overflow write in opj_tcd_dc_level_shift_encode() (CVE-2020-27823)\n\n* openjpeg: heap-buffer-overflow in color.c may lead to DoS or arbitrary code execution (CVE-2021-3575)\n\n* openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c (CVE-2018-5727)\n\n* openjpeg: integer overflow in opj_j2k_setup_encoder function in openjp2/j2k.c (CVE-2018-5785)\n\n* openjpeg: division-by-zero in functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c (CVE-2018-20845)\n\n* openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c (CVE-2018-20847)\n\n* openjpeg: denial of service in function opj_t1_encode_cblks in openjp2/t1.c (CVE-2019-12973)\n\n* openjpeg: global-buffer-overflow read in opj_dwt_calc_explicit_stepsizes() (CVE-2020-27824)\n\n* openjpeg: null pointer dereference in opj_tgt_reset function in lib/openjp2/tgt.c (CVE-2020-27842)\n\n* openjpeg: out-of-bounds read in opj_t2_encode_packet function in openjp2/t2.c (CVE-2020-27843)\n\n* openjpeg: heap-based buffer overflow in functions opj_pi_next_rlcp, opj_pi_next_rpcl and opj_pi_next_lrcp in openjp2/pi.c (CVE-2020-27845)\n\n* openjpeg: out-of-bounds write due to an integer overflow in opj_compress.c (CVE-2021-29338)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.","status":"published","published":"2021-11-09T08:51:11Z","modified":"2026-02-04T15:30:17.33702Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:23.969672Z"},{"id":"UBUNTU-CVE-2018-20847","description":"An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.","status":"published","published":"2019-06-26T18:15:00Z","modified":"2026-10-17T12:55:26.121726991Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:17.91743Z"},{"id":"ALSA-2021:4251","title":"Moderate: openjpeg2 security update","description":"OpenJPEG is an open source library for reading and writing image files in JPEG2000 format.\n\nThe following packages have been upgraded to a later upstream version: openjpeg2 (2.4.0).\n\nSecurity Fix(es):\n\n* openjpeg: use-after-free and double-free via a mix of valid and invalid files in a directory operated on by the decompressor (CVE-2020-15389)\n\n* openjpeg: heap-buffer-overflow in lib/openjp2/mqc.c could result in DoS (CVE-2020-27814)\n\n* openjpeg: heap-buffer-overflow write in opj_tcd_dc_level_shift_encode() (CVE-2020-27823)\n\n* openjpeg: heap-buffer-overflow in color.c may lead to DoS or arbitrary code execution (CVE-2021-3575)\n\n* openjpeg: integer overflow in opj_t1_encode_cblks in src/lib/openjp2/t1.c (CVE-2018-5727)\n\n* openjpeg: integer overflow in opj_j2k_setup_encoder function in openjp2/j2k.c (CVE-2018-5785)\n\n* openjpeg: division-by-zero in functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c (CVE-2018-20845)\n\n* openjpeg: integer overflow in function opj_get_encoding_parameters in openjp2/pi.c (CVE-2018-20847)\n\n* openjpeg: denial of service in function opj_t1_encode_cblks in openjp2/t1.c (CVE-2019-12973)\n\n* openjpeg: global-buffer-overflow read in opj_dwt_calc_explicit_stepsizes() (CVE-2020-27824)\n\n* openjpeg: null pointer dereference in opj_tgt_reset function in lib/openjp2/tgt.c (CVE-2020-27842)\n\n* openjpeg: out-of-bounds read in opj_t2_encode_packet function in openjp2/t2.c (CVE-2020-27843)\n\n* openjpeg: heap-based buffer overflow in functions opj_pi_next_rlcp, opj_pi_next_rpcl and opj_pi_next_lrcp in openjp2/pi.c (CVE-2020-27845)\n\n* openjpeg: out-of-bounds write due to an integer overflow in opj_compress.c (CVE-2021-29338)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2021-11-09T08:51:11Z","modified":"2026-10-29T11:01:09.348365568Z","updated_at":"2026-11-02T15:27:51.196609Z"},{"id":"DLA-1851-1","title":"openjpeg2 - security update","status":"published","published":"2019-07-10T00:00:00Z","modified":"2026-03-09T01:22:29.948009Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"USN-4497-1","title":"OpenJPEG vulnerabilities","description":"It was discovered that OpenJPEG incorrectly handled certain image files. A\nremote attacker could possibly use this issue to cause a denial of service.\n(CVE-2016-9112)\n\nIt was discovered that OpenJPEG did not properly handle certain input. If\nOpenJPEG were supplied with specially crafted input, it could be made to crash\nor potentially execute arbitrary code.\n(CVE-2018-20847, CVE-2018-21010, CVE-2020-6851, CVE-2020-8112, CVE-2020-15389)\n\nIt was discovered that OpenJPEG incorrectly handled certain BMP files. A\nremote attacker could possibly use this issue to cause a denial of service.\n(CVE-2019-12973)\n","status":"published","published":"2020-09-15T18:30:32Z","modified":"2026-04-27T15:48:43.990997371Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
