Vulnerabilities / CVE-2015-8871

critical

CVE-2015-8871

openjpeg: Use-after-free in opj_j2k_write_mco function

Published Modified CWE 416
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.1AV:N/AC:H/Au:N/C:P/I:P/A:P

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

Description

Use-after-free vulnerability in the opj_j2k_write_mco function in j2k.c in OpenJPEG before 2.1.1 allows remote attackers to have unspecified impact via unknown vectors.

Affected packages and fixed versions

SourcePackageFixed in
debian 11openjpeg22.1.1-1
debian 12openjpeg22.1.1-1
debian 13openjpeg22.1.1-1
debian 14openjpeg22.1.1-1
debian 8openjpeg22.1.0-2+deb8u1
echoopenjpeg22.1.1-1
root.io debian 11rootio-openjpeg22.1.1-1
root.io debian 12rootio-openjpeg22.1.1-1
root.io debian 13rootio-openjpeg22.1.1-1
ubuntu 16.04openjpeg22.1.2-1.1+deb9u2build0.1
ubuntu 16.04-ESMopenjpeg22.1.2-1.1+deb9u2build0.1

References

All 12 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.