Skip to main content
Public proof of conceptFix available

CVE-2016-10504

A public proof of concept exists; no exploitation attested.

  • Published2017-08-30
  • WeaknessCWE-119

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.

Timeline

dates in UTC
  1. 2017-09-01Exploit-DB entryExploit-DB

Versions per branch

NVD
Uclouvain openjpeg
BranchAffectedFixed in
2.1≤ 2.1.2no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • openjpeg2Ubuntu:16.04:LTSall versions · fixed in 2.1.2-1.1+deb9u2build0.1
  • openjpeg2Debian:14all versions · fixed in 2.2.0-1
  • openjpeg2Debian:13all versions · fixed in 2.2.0-1
  • openjpeg2Debian:12all versions · fixed in 2.2.0-1

Vendor advisories

  • CVE-2016-10504 Red Hat Product Security8 known affected

    openjpeg: Heap-based buffer over-write in in opj_mqc_byteout function of mqc.c

    openjpeg as a component of Red Hat Enterprise Linux 6 · openjpeg-devel as a component of Red Hat Enterprise Linux 6 · openjpeg-libs as a component of Red Hat Enterprise Linux 6 · +5 more

Full record on NVD

Fix

  1. No fix planned, says the vendor Red Hat Product Security CVE-2016-10504 · 8 productsWill not fix

Advisories and patches

Detection

read 2026-12-04 21:56 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-42600
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
2017-08-30
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-9658-9wm2-ghj4

Frequently asked questions

What is CVE-2016-10504?

Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.

Is CVE-2016-10504 actively exploited?

Active exploitation of CVE-2016-10504 has not been confirmed. Its EPSS score was 8.2% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2016-10504?

CVE-2016-10504 has a CVSS v3 base score of 6.5 (Medium severity), with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Running openjpeg? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record