Advisory

UBUNTU-CVE-2018-5785

Also known as: CVE-2018-5785

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2018-01-19 00:00 UTC
Modified
2026-04-22 11:59 UTC

Affected packages and fixes

openjpeg2

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.1.2-1.1+deb9u3build0.16.04.1 (ecosystem)

Fixed versions

2.1.2-1.1+deb9u3build0.16.04.1

Fix

  • Fixed version 2.1.2-1.1+deb9u3build0.16.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

openjpeg2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.3.0-2build0.18.04.1 (ecosystem)

Fixed versions

2.3.0-2build0.18.04.1

Fix

  • Fixed version 2.3.0-2build0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences