cve.bz

CVE-2018-20847 Year 2038 problem, Y2K38, Y2038, Epochalypse

8.8 highEPSS 2.2%Fix available

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

On this page
An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.2% (unchanged from 2.2% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
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-2018-20847 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-20847?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-20847?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-2018-20847 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.3.0
debian:debian_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8openjpeg22.1.0-2+deb8u7DLA-1851-1
Debian12, 13, 14openjpeg22.3.1-1DEBIAN-CVE-2018-20847
Ubuntu16.04:LTSblender, texmaker, emscripten and 1 moreno fix listedUBUNTU-CVE-2018-20847
Ubuntu16.04:LTSopenjpeg22.1.2-1.1+deb9u5build0.16.04.1UBUNTU-CVE-2018-20847 USN-4497-1
Ubuntu18.04:LTS, 22.04:LTSblender, emscripten, insighttoolkit4no fix listedUBUNTU-CVE-2018-20847
Ubuntu20.04:LTSblender, insighttoolkit4no fix listedUBUNTU-CVE-2018-20847
Ubuntu24.04:LTSblender, emscriptenno fix listedUBUNTU-CVE-2018-20847
Ubuntu25.10, 26.10blender, texmaker, emscripten and 1 moreno fix listedUBUNTU-CVE-2018-20847
Ubuntu26.04:LTSblender, texmaker, emscriptenno fix listedUBUNTU-CVE-2018-20847
UbuntuPro:18.04:LTS, Pro:20.04:LTS, Pro:22.04:LTS and 1 moretexmaker, qtwebengine-opensource-srcno fix listedUBUNTU-CVE-2018-20847
UbuntuPro:26.04:LTSqtwebengine-opensource-srcno fix listedUBUNTU-CVE-2018-20847
Red Hatenterprise_linux:8::appstreamopenjpeg2, openjpeg2-tools, openjpeg2-debuginfo and 3 more0:2.4.0-4.el8RHSA-2021:4251
Red Hatenterprise_linux:8::crbopenjpeg2-devel, openjpeg2-tools, openjpeg2-debuginfo and 2 more0:2.4.0-4.el8RHSA-2021:4251
AlmaLinux8openjpeg2, openjpeg2-devel, openjpeg2-tools and 1 more2.4.0-4.el8ALSA-2021:4251
Rocky Linux8openjpeg20:2.4.0-4.el8RLSA-2021:4251

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue did not affect the versions of openjpeg as shipped with Red Hat Enterprise Linux 7 as they did not include the vulnerable code, due to an older version of the tool being shipped.

This issue did not affect the versions of openjpeg2 as shipped with Red Hat Enterprise Linux 7 as they already contain the patched code.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8openjpeg2-0:2.4.0-4.el8Fixed 2021-11-09RHSA-2021:4251
Red Hat Enterprise Linux 6openjpegOut of support scope
Red Hat Enterprise Linux 7openjpegNot affected
Red Hat Enterprise Linux 7openjpeg2Not 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-2018-20847.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON