CVE-2022-48281 Memory corruption in n/a

Medium 5.5 Published Updated

A heap-based buffer overflow in LibTIFF allows attackers to execute arbitrary code or cause denial of service via a crafted TIFF image.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-48281?

CVE-2022-48281 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 23 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

processCropSelections in tools/tiffcrop.c in LibTIFF through 4.5.0 has a heap-based buffer overflow (e.g., "WRITE of size 307203") via a crafted TIFF image.

Weakness: CWE-787

Which versions are affected by CVE-2022-48281?

It affects 2 products.

Linux distribution packages (40)
libtiff AlmaLinux:8All versions4.0.9-28.el8_8
libtiff-devel AlmaLinux:8All versions4.0.9-28.el8_8
libtiff-tools AlmaLinux:8All versions4.0.9-28.el8_8
libtiff Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-28.el8_8
libtiff-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-28.el8_8
libtiff-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-28.el8_8
libtiff-devel Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-28.el8_8
libtiff-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:4.0.9-28.el8_8
libtiff-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-28.el8_8
libtiff-debugsource Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-28.el8_8
libtiff-tools Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-28.el8_8
libtiff-tools-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:4.0.9-28.el8_8
libtiff Rocky Linux:8All versions0:4.0.9-28.el8_8
tiff SUSE:Enterprise Storage 6All versions4.0.9-150000.45.25.1
tiff SUSE:Enterprise Storage 7All versions4.0.9-150000.45.25.1
tiff SUSE:Enterprise Storage 7.1All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOSAll versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Micro 5.2All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Micro 5.3All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Module for Package Hub 15 SP4All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Real Time 15 SP3All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Server 12 SP2-BCLAll versions4.0.9-44.65.1
tiff SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions4.0.9-44.65.1
tiff SUSE:Linux Enterprise Server 12 SP5All versions4.0.9-44.65.1
tiff SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions4.0.9-44.65.1
tiff SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions4.0.9-44.65.1
tiff SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions4.0.9-150000.45.25.1
tiff SUSE:Linux Enterprise Software Development Kit 12 SP5All versions4.0.9-44.65.1
tiff SUSE:Manager Proxy 4.2All versions4.0.9-150000.45.25.1
tiff SUSE:Manager Retail Branch Server 4.2All versions4.0.9-150000.45.25.1
tiff SUSE:Manager Server 4.2All versions4.0.9-150000.45.25.1

Products include Debian Debian Linux, Libtiff Libtiff.

How do I fix CVE-2022-48281?

Apply the vendor's patch.

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

Is CVE-2022-48281 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-48281 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2022-48281, ALSA-2023:3827, AZL-13151, DEBIAN-CVE-2022-48281, DLA-3297-1, GHSA-4qr3-39h9-qwp4 and 9 more.

Is CVE-2022-48281 in your software?

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

Check your SBOMs for free