CVE-2016-10504

MEDIUM

OpenJPEG < 2.2.0 - Heap-Based Buffer Overflow in opj_mqc_byteout

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2016-10504. PoCs published by Ke Liu.

AI-analyzed exploit summary This exploit demonstrates a heap-buffer-overflow vulnerability in OpenJPEG's `opj_mqc_byteout` function, triggered by a malformed BMP file. The PoC causes an out-of-bounds write during compression, leading to a crash.

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.

Exploits (1)

exploitdb WORKING POC
by Ke Liu · textdoslinux
https://www.exploit-db.com/exploits/42600

This exploit demonstrates a heap-buffer-overflow vulnerability in OpenJPEG's `opj_mqc_byteout` function, triggered by a malformed BMP file. The PoC causes an out-of-bounds write during compression, leading to a crash.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: OpenJPEG (Master version, commit 805972f, 2016/09/12)
No auth needed
Prerequisites: A malformed BMP file to trigger the vulnerability
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://github.com/uclouvain/openjpeg/issues/835
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201710-26
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/42600/
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2017/dsa-4013
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/100564

Scores

CVSS v3 6.5
EPSS 0.0825
EPSS Percentile 94.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-119
Status published
Products (1)
uclouvain/openjpeg < 2.1.2
Published Aug 30, 2017
Tracked Since Feb 18, 2026