Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-73638

MEDIUM · 6.2 CVSS Gepubliceerd: CWE-125

Beschrijving NL

Imager-versies van 0.45_02 vóór 1.035 voor Perl lezen buiten het EXIF-blok via niet-gecontroleerde startoffsets in tiff_load_ifd. tiff_load_ifd() valideert de gegevens van een IFD-invoer door te controleren dat `invoer- >offset + invoer- >grootte` binnen het EXIF-blok blijft en controleert nooit de startoffset zelf. Waar die som niet het echte einde van de gegevens is, gaat de controle voorbij met de invoer die buiten het blok begint. Via 1.032 is `entry->offset` een gewone int, dus op de gebruikelijke implementaties met twee complementen converteert een offset met de hoge bitset naar negatief en kan de som terug in het blok terechtkomen. Vanaf 1.033 is het veld een size_t en de toevoeging wraps alleen waar size_t 32 bits is. De eigen startoffset van de IFD wordt op dezelfde manier gecontroleerd en wraps waar niet-ondertekend lang 32 bits is, inclusief 64-bits Windows. Elke beller van Imager- >read() op een door een aanvaller geleverde afbeelding kan EXIF-tags ontvangen die bytes bevatten van buiten het blok, of het proces laten crashen.

Origineel (Engels) tonen

Imager versions from 0.45_02 before 1.035 for Perl read outside the EXIF block via unchecked start offsets in tiff_load_ifd.

tiff_load_ifd() validates an IFD entry's data by checking that `entry->offset + entry->size` stays within the EXIF block, and never checks the start offset itself. Where that sum is not the real end of the data, the check passes with the entry starting outside the block.

Through 1.032 `entry->offset` is a plain int, so on the usual two's-complement implementations an offset with the high bit set converts to negative and the sum can land back inside the block. From 1.033 the field is a size_t and the addition wraps only where size_t is 32 bits. The IFD's own start offset is checked the same way and wraps where unsigned long is 32 bits, which includes 64-bit Windows.

Any caller of Imager->read() on an attacker-supplied image may receive EXIF tags holding bytes from outside the block, or crash the process.

References