CVE-2018-20847: Integer Overflow

Published Jun 26, 2019
·
Updated

An improper computation of ptx0, ptx1, pty0 and pty1 in the function opjgetencodingparameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow.

Affected Software

4 affected componentsFixes available
redhat/openjpeg<2.3.1
2.3.1
uclouvain openjpeg<=2.3.0
Debian Debian Linux=8.0
debian/openjpeg2
2.4.0-32.4.0-3+deb11u12.5.0-2+deb12u12.5.3-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openjpeg to a version that resolves this vulnerability.

    Fixed in 2.3.1
  2. Upgrade

    Upgrade debian/openjpeg2 to a version that resolves this vulnerability.

    Fixed in 2.4.0-3Fixed in 2.4.0-3+deb11u1Fixed in 2.5.0-2+deb12u1Fixed in 2.5.3-2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 5d00b719f4b93b1445e6fb4c766b9a9883c57949

Event History

Jun 26, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
CVE Published
via MITRE·05:07 PM
Data Sourced
via MITRE·05:07 PM
Description
Nov 9, 2021
Data Sourced
via Red Hat·05:56 PM
DescriptionSeverityAffected Software
Feb 27, 2023
Data Sourced
04:47 PM
Weakness
Data Sourced
via NVD·04:47 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
04:47 PM
Affected Software
Nov 21, 2024
Updated
via NVD·04:02 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·01:53 AM
Affected Software

Frequently Asked Questions

1

What is CVE-2018-20847?

CVE-2018-20847 is a vulnerability that involves an improper computation in the OpenJPEG library, which can lead to an integer overflow.

2

What is the severity of CVE-2018-20847?

CVE-2018-20847 has a severity rating of 8.8 (high).

3

Which software versions are affected by CVE-2018-20847?

OpenJPEG versions up to and including 2.3.0 are affected by CVE-2018-20847.

4

How can I fix CVE-2018-20847?

To fix CVE-2018-20847, it is recommended to update to OpenJPEG version 2.3.1 or later.

5

Where can I find more information about CVE-2018-20847?

You can find more information about CVE-2018-20847 at the following references: [CVE-2018-20847](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20847), [OpenJPEG Commit](https://github.com/uclouvain/openjpeg/commit/5d00b719f4b93b1445e6fb4c766b9a9883c57949), [OpenJPEG Issues](https://github.com/uclouvain/openjpeg/issues/431).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203