libtiffs tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation.
The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Libtiff | Libtiff | * | 4.4.0 (excluding) |
| Red Hat Enterprise Linux 8 | RedHat | libtiff-0:4.0.9-26.el8_7 | * |
| Tiff | Ubuntu | bionic | * |
| Tiff | Ubuntu | esm-infra-legacy/trusty | * |
| Tiff | Ubuntu | esm-infra/bionic | * |
| Tiff | Ubuntu | esm-infra/focal | * |
| Tiff | Ubuntu | esm-infra/xenial | * |
| Tiff | Ubuntu | focal | * |
| Tiff | Ubuntu | jammy | * |
| Tiff | Ubuntu | trusty | * |
| Tiff | Ubuntu | trusty/esm | * |
| Tiff | Ubuntu | upstream | * |
| Tiff | Ubuntu | xenial | * |