VDB
CVE-2018-5785
CVE-2018-5785
PUBLISHED
Reported by mitre · Published January 19, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openjpeg2-tools | Amazon Linux | 2.4.0-4.amzn2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | openjpeg2-tools | 0 |
| n/a | n/a | * |
| alpine | openjpeg | 0, 0 |
| amazon:2 | openjpeg2-devel | 0 |
| amazon:2 | openjpeg2-devel-docs | 0 |
| amazon:2 | openjpeg2 | 0 |
Timeline
- Jan 19, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-5785
vulnetix vdb fixes CVE-2018-5785
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-5785/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- DSA-4405 vendor-advisoryx_refsource_DEBIAN
- USN-4109-1 vendor-advisoryx_refsource_UBUNTU