Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2022-2521
NixOS vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-2521 was discovered in libtiff version 4.4.0rc1, involving an invalid pointer free operation in TIFFClose() function at tif_close.c:131 called by tiffcrop.c:2522 (MITRE, NVD). The vulnerability was reported in July 2022 and affects the Tag Image File Format (TIFF) library and tools.

Technical details

The vulnerability occurs due to an invalid pointer free operation in the TIFFClose() function, specifically at line 131 of tif_close.c, which is called from line 2522 of tiffcrop.c. The issue manifests when processing crafted input files using the tiffcrop utility (GitLab Issue). The vulnerability has a CVSS v3.1 base score of 6.5 (Medium), with attack vector being Network, attack complexity Low, requiring no privileges but user interaction, and affecting only availability (Oracle Linux).

Impact

When exploited, this vulnerability can cause a program crash and denial of service while processing crafted input (MITRE). The impact primarily affects the availability of the system, with no direct impact on confidentiality or integrity.

Exploitability

The vulnerability requires user interaction to process a specially crafted TIFF image. It can be triggered through the tiffcrop utility with specific parameters, such as using the -Z and -S options together (GitLab MR).

Mitigation and workarounds

The vulnerability has been fixed in subsequent releases of libtiff. Various distributions have released patches, including Debian which addressed this issue in version 4.2.0-1+deb11u3 (Debian Security). The fix involves making the tiffcrop -S option mutually exclusive with other crop options (-X|-Y), -Z and -z, preventing the invalid pointer free condition.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

tiff: 4.4.0-r1

Fixed

v3.18

tiff: 4.4.0-r1

Fixed

v3.19

tiff: 4.4.0-r1

Fixed

v3.20

tiff: 4.4.0-r1

Fixed

v3.21

tiff: 4.4.0-r1

Fixed

v3.22

tiff: 4.4.0-r1

Fixed

v3.23

tiff: 4.4.0-r1

Fixed

Arch Linux

Unknown

rolling

libtiff: 4.4.0-1

Unknown

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • mingw32-binutils
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management