Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2018-5785

published

openjpeg: integer overflow in opj_j2k_setup_encoder function in openjp2/j2k.c

Title from Red Hat VEX

Published
19 Jan 2018, 08:00:00 UTC
Updated
05 Aug 2024, 05:47:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2022-1741 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 openjpeg2 Advisory build 2.4.0-4.el8 ALSA-2021:4251
Alpine Linux edge openjpeg Fixed 2.3.0-r3 Package fix record
Debian stretch openjpeg2 Advisory build 2.1.2-1.1+deb9u3 DSA-4405-1
Oracle Linux 8 openjpeg2aarch64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Red Hat Enterprise Linux RHEL-8 openjpeg2aarch64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
SUSE / openSUSE SLE-15 libopenjp2-7aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 openjpeg2-devel Advisory build 2.4.0-4.el8 ALSA-2021:4251
AlmaLinux 8 openjpeg2-devel-docs Advisory build 2.4.0-4.el8 ALSA-2021:4251
AlmaLinux 8 openjpeg2-tools Advisory build 2.4.0-4.el8 ALSA-2021:4251
Alpine Linux v3.10 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.11 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.12 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.13 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.14 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.15 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.16 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.17 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.18 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.19 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.20 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.21 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.22 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.23 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.24 openjpeg Fixed 2.3.0-r3 Package fix record
Alpine Linux v3.6 openjpeg Fixed 2.3.0-r2 Package fix record
Alpine Linux v3.7 openjpeg Fixed 2.3.0-r2 Package fix record
Alpine Linux v3.8 openjpeg Fixed 2.3.0-r2 Package fix record
Alpine Linux v3.9 openjpeg Fixed 2.3.0-r3 Package fix record
Oracle Linux 8 openjpeg2x86_64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Oracle Linux 8 openjpeg2-develaarch64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Oracle Linux 8 openjpeg2-develx86_64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Oracle Linux 8 openjpeg2-devel-docsaarch64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Oracle Linux 8 openjpeg2-devel-docsx86_64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Oracle Linux 8 openjpeg2-toolsaarch64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Oracle Linux 8 openjpeg2-toolsx86_64 Advisory build 0:2.4.0-4.el8 ELSA-2021-4251
Red Hat Enterprise Linux RHEL-8 openjpeg2i686 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2ppc64le Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2s390x Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2src Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2x86_64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfoaarch64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfoi686 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfoppc64le Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfos390x Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debuginfox86_64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourceaarch64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourcei686 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourceppc64le Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsources390x Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-debugsourcex86_64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-devel-docsnoarch Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolsaarch64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolsppc64le Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolss390x Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-toolsx86_64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfoaarch64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfoi686 Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfoppc64le Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfos390x Advisory build 2.4.0-4.el8 RHSA-2021:4251
Red Hat Enterprise Linux RHEL-8 openjpeg2-tools-debuginfox86_64 Advisory build 2.4.0-4.el8 RHSA-2021:4251
SUSE / openSUSE SLE-15 libopenjp2-7ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 libopenjp2-7s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 libopenjp2-7x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2-develaarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2-develppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2-devels390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15 openjpeg2-develx86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 libopenjp2-7aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 libopenjp2-7ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 libopenjp2-7s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 libopenjp2-7x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2-develaarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2-develppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2-devels390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP1 openjpeg2-develx86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 libopenjp2-7aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 libopenjp2-7ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 libopenjp2-7s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 libopenjp2-7x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2-develaarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2-develppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2-devels390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP2 openjpeg2-develx86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 libopenjp2-7aarch64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 libopenjp2-7ppc64le Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 libopenjp2-7s390x Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 libopenjp2-7x86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1
SUSE / openSUSE SLE-15-SP3 libopenjp2-7-32bitx86_64 Advisory build 2.3.0-150000.3.5.1 SUSE-SU-2022:1252-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

33

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

3
  • https://github.com/uclouvain/openjpeg/issues/1057 x_refsource_MISC, x_transferred Contributors: mitre (cna), CVE (adp)
  • USN-4109-1 https://usn.ubuntu.com/4109-1/ vendor-advisory, x_refsource_UBUNTU, x_transferred Contributors: mitre (cna), CVE (adp)
  • DSA-4405 https://www.debian.org/security/2019/dsa-4405 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: mitre (cna), CVE (adp)

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
8401768e94bbf42eb960282cdd41faf65113aa56e482685c8be528ab9ed56b0c
Ingested
23 Sep 2026, 07:44:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected