cve.bz

CVE-2016-4797 Divide By Zero

5.5 mediumEPSS 2.2%Fix available

Medium (5.5). EPSS 2.2% estimated probability of exploitation activity in the next 30 days.

On this page
Divide-by-zero vulnerability in the opj_tcd_init_tile function in tcd.c in OpenJPEG before 2.1.1 allows remote attackers to cause a denial of service (application crash) via a crafted jp2 file. NOTE: this issue exists because of an incorrect fix for CVE-2014-7947.

Severity

CVSS 3.0

5.5 medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.2% (unchanged from 2.2% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-369 Divide By Zero
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-4797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-4797?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-4797?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-4797 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
uclouvain:openjpegthrough 2.1.0
fedoraproject:fedora23
fedoraproject:fedora24

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14openjpeg22.1.1-1DEBIAN-CVE-2016-4797
Ubuntu16.04:LTSopenjpeg22.1.2-1.1+deb9u2build0.1UBUNTU-CVE-2016-4797
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 moreopenjpeg22.1.0-4.15.1SUSE-SU-2022:1129-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6openjpegNot affected
Red Hat Enterprise Linux 7openjpegNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-4797.

References

Check your stackJSON