Vulnerabilities / CVE-2017-17479

critical

CVE-2017-17479

openjpeg: Stack-buffer overflow in the pgxtoimage function

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.3CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

In OpenJPEG 2.3.0, a stack-based buffer overflow was discovered in the pgxtoimage function in jpwl/convert.c. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.

Affected packages and fixed versions

SourcePackageFixed in
debian 11openjpeg22.3.0-2
debian 12openjpeg22.3.0-2
debian 13openjpeg22.3.0-2
debian 14openjpeg22.3.0-2
echoopenjpeg22.3.0-2
Red Hatopenjpeg, openjpeg-devel, openjpeg-libsno fix listed
root.io debian 11rootio-openjpeg22.3.0-2
root.io debian 12openjpeg2, rootio-openjpeg22.3.0-2, 2.5.0-2+deb12u1.root.io.2, 2.5.0-2+deb12u1.root.io.3, 2.5.0-2+deb12u1.root.io.4, 2.5.0-2+deb12u1.root.io.5, 2.5.0-2+deb12u1.root.io.6, 2.5.0-2+deb12u1.root.io.7, 2.5.0-2+deb12u1.root.io.8, 2.5.0-2+deb12u2.root.io.9, 2.5.0-2+deb12u2.root.io.10, 2.5.0-2+deb12u2.root.io.11, 2.5.0-2+deb12u2.root.io.12, 2.5.0-2+deb12u2.root.io.13, 2.5.0-2+deb12u2.root.io.14, 2.5.0-2+deb12u2.root.io.15, 2.5.0-2+deb12u2.root.io.16
root.io debian 13rootio-openjpeg22.3.0-2
ubuntu 16.04openjpeg22.1.2-1.1+deb9u3build0.16.04.1
ubuntu 16.04-ESMopenjpeg, openjpeg21:1.5.2-3.1ubuntu0.1~esm2 and 1 more
ubuntu 18.04openjpeg22.3.0-2build0.18.04.1
Show all 17 entries from 13 sources
SourcePackageFixed in
debian 11openjpeg22.3.0-2
debian 12openjpeg22.3.0-2
debian 13openjpeg22.3.0-2
debian 14openjpeg22.3.0-2
echoopenjpeg22.3.0-2
Red Hatopenjpegno fix listed
Red Hatopenjpeg-develno fix listed
Red Hatopenjpeg-libsno fix listed
root.io debian 11rootio-openjpeg22.3.0-2
root.io debian 12openjpeg22.3.0-2, 2.5.0-2+deb12u1.root.io.2, 2.5.0-2+deb12u1.root.io.3, 2.5.0-2+deb12u1.root.io.4, 2.5.0-2+deb12u1.root.io.5, 2.5.0-2+deb12u1.root.io.6, 2.5.0-2+deb12u1.root.io.7, 2.5.0-2+deb12u1.root.io.8, 2.5.0-2+deb12u2.root.io.9, 2.5.0-2+deb12u2.root.io.10, 2.5.0-2+deb12u2.root.io.11, 2.5.0-2+deb12u2.root.io.12, 2.5.0-2+deb12u2.root.io.13, 2.5.0-2+deb12u2.root.io.14, 2.5.0-2+deb12u2.root.io.15, 2.5.0-2+deb12u2.root.io.16
root.io debian 12rootio-openjpeg22.3.0-2, 2.5.0-2+deb12u1.root.io.2, 2.5.0-2+deb12u1.root.io.3, 2.5.0-2+deb12u1.root.io.4, 2.5.0-2+deb12u1.root.io.5, 2.5.0-2+deb12u1.root.io.6, 2.5.0-2+deb12u1.root.io.7, 2.5.0-2+deb12u1.root.io.8, 2.5.0-2+deb12u2.root.io.9, 2.5.0-2+deb12u2.root.io.10, 2.5.0-2+deb12u2.root.io.11, 2.5.0-2+deb12u2.root.io.12, 2.5.0-2+deb12u2.root.io.13, 2.5.0-2+deb12u2.root.io.14, 2.5.0-2+deb12u2.root.io.15, 2.5.0-2+deb12u2.root.io.16
root.io debian 13rootio-openjpeg22.3.0-2
ubuntu 16.04openjpeg22.1.2-1.1+deb9u3build0.16.04.1
ubuntu 16.04-ESMopenjpeg1:1.5.2-3.1ubuntu0.1~esm2
ubuntu 16.04-ESMopenjpeg22.1.2-1.1+deb9u3build0.16.04.1
ubuntu 18.04openjpeg22.3.0-2build0.18.04.1
ubuntu 18.04-ESMopenjpeg22.3.0-2build0.18.04.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.