In LibRaw before 0.21.4, tag 0x412 processing in phase_one_correct in decoders/load_mfbacks.cpp does not enforce minimum w0 and w1 values.
The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libraw | Libraw | * | 0.21.4 (excluding) |
Darktable | Ubuntu | focal | * |
Dcraw | Ubuntu | focal | * |
Digikam | Ubuntu | focal | * |
Exactimage | Ubuntu | focal | * |
Kodi | Ubuntu | focal | * |
Libraw | Ubuntu | esm-infra/bionic | * |
Libraw | Ubuntu | esm-infra/xenial | * |
Libraw | Ubuntu | focal | * |
Libraw | Ubuntu | jammy | * |
Libraw | Ubuntu | noble | * |
Libraw | Ubuntu | oracular | * |
Libraw | Ubuntu | plucky | * |
Libraw | Ubuntu | upstream | * |
Rawtherapee | Ubuntu | focal | * |
Specified quantities include size, length, frequency, price, rate, number of operations, time, and others. Code may rely on specified quantities to allocate resources, perform calculations, control iteration, etc. When the quantity is not properly validated, then attackers can specify malicious quantities to cause excessive resource allocation, trigger unexpected failures, enable buffer overflows, etc.