CVE-2020-12268 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer overflow in the jbig2dec library allows attackers to execute arbitrary code or cause denial of service via crafted JBIG2 images.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-12268?

CVE-2020-12268 is a critical memory corruption vulnerability in Debian Debian Linux, published on 27 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

jbig2_image_compose in jbig2_image.c in Artifex jbig2dec before 0.18 has a heap-based buffer overflow.

Weakness: CWE-787

Which versions are affected by CVE-2020-12268?

It affects 3 products.

Linux distribution packages (40)
jbig2dec Red Hat:enterprise_linux:8::appstreamAll versions0:0.14-4.el8_2
jbig2dec-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:0.14-4.el8_2
jbig2dec-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:0.14-4.el8_2
jbig2dec-libs Red Hat:enterprise_linux:8::appstreamAll versions0:0.14-4.el8_2
jbig2dec-libs-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:0.14-4.el8_2
jbig2dec Red Hat:rhel_e4s:8.0::appstreamAll versions0:0.14-4.el8_0
jbig2dec-debuginfo Red Hat:rhel_e4s:8.0::appstreamAll versions0:0.14-4.el8_0
jbig2dec-debugsource Red Hat:rhel_e4s:8.0::appstreamAll versions0:0.14-4.el8_0
jbig2dec-libs Red Hat:rhel_e4s:8.0::appstreamAll versions0:0.14-4.el8_0
jbig2dec-libs-debuginfo Red Hat:rhel_e4s:8.0::appstreamAll versions0:0.14-4.el8_0
jbig2dec Red Hat:rhel_eus:8.1::appstreamAll versions0:0.14-4.el8_1
jbig2dec-debuginfo Red Hat:rhel_eus:8.1::appstreamAll versions0:0.14-4.el8_1
jbig2dec-debugsource Red Hat:rhel_eus:8.1::appstreamAll versions0:0.14-4.el8_1
jbig2dec-libs Red Hat:rhel_eus:8.1::appstreamAll versions0:0.14-4.el8_1
jbig2dec-libs-debuginfo Red Hat:rhel_eus:8.1::appstreamAll versions0:0.14-4.el8_1
ghostscript SUSE:Enterprise Storage 5All versions9.52-23.34.1
libspectre SUSE:Enterprise Storage 5All versions0.2.7-12.10.1
ghostscript SUSE:HPE Helion OpenStack 8All versions9.52-23.34.1
libspectre SUSE:HPE Helion OpenStack 8All versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions9.52-3.27.2
libspectre SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions0.2.8-3.10.1
ghostscript SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions9.52-3.27.2
libspectre SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions0.2.8-3.10.1
ghostscript SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions9.52-3.27.2
libspectre SUSE:Linux Enterprise Module for Desktop Applications 15 SP1All versions0.2.8-3.10.1
ghostscript SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions9.52-23.34.1
libspectre SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise Server 12 SP2-BCLAll versions9.52-23.34.1
libspectre SUSE:Linux Enterprise Server 12 SP2-BCLAll versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions9.52-23.34.1
libspectre SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise Server 12 SP3-BCLAll versions9.52-23.34.1
libspectre SUSE:Linux Enterprise Server 12 SP3-BCLAll versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions9.52-23.34.1
libspectre SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise Server 12 SP4All versions9.52-23.34.1
libspectre SUSE:Linux Enterprise Server 12 SP4All versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise Server 12 SP5All versions9.52-23.34.1
libspectre SUSE:Linux Enterprise Server 12 SP5All versions0.2.7-12.10.1
ghostscript SUSE:Linux Enterprise Server 15-LTSSAll versions9.52-3.27.2

Products include Artifex Jbig2dec, Debian Debian Linux, Opensuse Leap.

How do I fix CVE-2020-12268?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-12268 being exploited?

There is no known exploitation of CVE-2020-12268 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-12268, DEBIAN-CVE-2020-12268, GHSA-ccx8-28wr-3jgq, MGASA-2020-0213, RHSA-2020:2897, RHSA-2020:2971 and 5 more.

Is CVE-2020-12268 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free