An integer overflow vulnerability exists in the uncompressed_fp_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Libraw | Libraw | 0.22.1 (including) | 0.22.1 (including) |
| Red Hat Enterprise Linux 9 | RedHat | LibRaw-0:0.21.1-2.el9_7 | * |
| Red Hat Enterprise Linux 9 | RedHat | LibRaw-0:0.21.1-2.el9_8 | * |
| Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | LibRaw-0:0.21.1-2.el9_4 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | LibRaw-0:0.21.1-2.el9_6 | * |
| Darktable | Ubuntu | esm-apps/xenial | * |
| Darktable | Ubuntu | questing | * |
| Dcraw | Ubuntu | esm-apps/xenial | * |
| Dcraw | Ubuntu | questing | * |
| Digikam | Ubuntu | esm-apps/xenial | * |
| Digikam | Ubuntu | questing | * |
| Exactimage | Ubuntu | esm-apps/xenial | * |
| Exactimage | Ubuntu | questing | * |
| Kodi | Ubuntu | esm-apps/xenial | * |
| Kodi | Ubuntu | questing | * |
| Libraw | Ubuntu | devel | * |
| Libraw | Ubuntu | noble | * |
| Libraw | Ubuntu | questing | * |
| Libraw | Ubuntu | resolute | * |
| Libraw | Ubuntu | upstream | * |
| Rawtherapee | Ubuntu | esm-apps/xenial | * |
| Rawtherapee | Ubuntu | questing | * |
| Ufraw | Ubuntu | esm-apps/xenial | * |