p PatchFirst

CVE-2025-59733

CVE-2025-59733 · Heap-buffer-overflow write in FFmpeg EXR dwa_uncompress

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

When decoding an OpenEXR file that uses DWAA or DWAB compression, there's an implicit assumption that all image channels have the same pixel type (and size), and that if there are four channels, the first four are "B", "G", "R" and "A". The channel parsing code can be found in decode_header. The buffer td->uncompressed_data is allocated in decode_block based on the xsize, ysize and computed current_channel_offset. The function dwa_uncompress then assumes at [5] that if there are 4 channels, these are "B", "G", "R" and "A", and in the calculations at [6] and [7] that all channels are of the same type, which matches the type of the main color channels. If we set the main color channels to a 4-byte type and add duplicate or unknown channels of the 2-byte EXR_HALF type, then the addition at [7] will increment the pointer by 4-bytes * xsize * nb_channels, which will exceed the allocated buffer. We recommend upgrading to version 8.0 or beyond.

CVSS 8.7 · Высокий · EPSS 0,2% · Есть исправление

Опубликовано
Обновлено

Стек: system

Затронутые продукты и версии

  • ffmpeg

    Версии
    • ≥ 9a32b863074ed4140141e0d3613905c6f1fe61c5, < 8.0: Затронуто (custom)
    • ≥ 7.1.1, < 8.0: Затронуто (semver)

    Обновитесь до 8.0

  • ffmpeg Debian:12

    Версии
    • 7:5.1.3-1
    • 7:5.1.3-2
    • 7:5.1.4-0+deb12u1
    • 7:5.1.5-0+deb12u1
    • 7:5.1.6-0+deb12u1
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:5.1.7-0+deb12u1

    Обновитесь до 7:5.1.7-0+deb12u1

  • ffmpeg Debian:13

    Версии
    • 7:7.1.1-1
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:7.1.2-0+deb13u1

    Обновитесь до 7:7.1.2-0+deb13u1

  • ffmpeg Debian:14

    Версии
    • 7:7.1.1-1
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:7.1.2-1

    Обновитесь до 7:7.1.2-1

  • libav Ubuntu:Pro:14.04:LTS

    Версии
    • 6:0.8.7-1ubuntu2
    • 6:9.10-1ubuntu1
    • 6:9.10-1ubuntu2
    • 6:9.10-1ubuntu5
    • 6:9.10-1ubuntu6
    • 6:9.10-1ubuntu7
    • 6:9.11-2ubuntu1
    • 6:9.11-2ubuntu2
    • 6:9.13-0ubuntu0.14.04.1
    • 6:9.14-0ubuntu0.14.04.1
    • 6:9.16-0ubuntu0.14.04.1
    • 6:9.18-0ubuntu0.14.04.1
    • 6:9.20-0ubuntu0.14.04.1
    • 6:9.20-0ubuntu0.14.04.1+esm1
    Затронутые диапазоны версий
    • ECOSYSTEM: (−∞, +∞)

    Нет опубликованного исправления

  • ffmpeg Ubuntu:Pro:18.04:LTS

    Версии
    • 7:3.3.4-2
    • 7:3.3.4-2build3
    • 7:3.4-2ubuntu2
    • 7:3.4-4
    • 7:3.4-4build1
    • 7:3.4.1-1
    • 7:3.4.1-1build1
    • 7:3.4.2-1
    • 7:3.4.2-1build1
    • 7:3.4.2-2
    • 7:3.4.4-0ubuntu0.18.04.1
    • 7:3.4.6-0ubuntu0.18.04.1
    • 7:3.4.8-0ubuntu0.2
    • 7:3.4.11-0ubuntu0.1
    • 7:3.4.11-0ubuntu0.1+esm1
    • 7:3.4.11-0ubuntu0.1+esm2
    • 7:3.4.11-0ubuntu0.1+esm3
    • 7:3.4.11-0ubuntu0.1+esm4
    • 7:3.4.11-0ubuntu0.1+esm5
    • 7:3.4.11-0ubuntu0.1+esm6
    • 7:3.4.11-0ubuntu0.1+esm7
    • 7:3.4.11-0ubuntu0.1+esm8
    • 7:3.4.11-0ubuntu0.1+esm9
    • 7:3.4.11-0ubuntu0.1+esm10
    • 7:3.4.11-0ubuntu0.1+esm11
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:3.4.11-0ubuntu0.1+esm12

    Обновитесь до 7:3.4.11-0ubuntu0.1+esm12

  • ffmpeg Ubuntu:Pro:20.04:LTS

    Версии
    • 7:4.1.4-1build2
    • 7:4.2.1-2
    • 7:4.2.1-2ubuntu1
    • 7:4.2.2-1build1
    • 7:4.2.2-1ubuntu1
    • 7:4.2.4-1ubuntu0.1
    • 7:4.2.4-1ubuntu0.1+esm1
    • 7:4.2.7-0ubuntu0.1
    • 7:4.2.7-0ubuntu0.1+esm1
    • 7:4.2.7-0ubuntu0.1+esm2
    • 7:4.2.7-0ubuntu0.1+esm3
    • 7:4.2.7-0ubuntu0.1+esm4
    • 7:4.2.7-0ubuntu0.1+esm5
    • 7:4.2.7-0ubuntu0.1+esm6
    • 7:4.2.7-0ubuntu0.1+esm7
    • 7:4.2.7-0ubuntu0.1+esm8
    • 7:4.2.7-0ubuntu0.1+esm9
    • 7:4.2.7-0ubuntu0.1+esm10
    • 7:4.2.7-0ubuntu0.1+esm11
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:4.2.7-0ubuntu0.1+esm12

    Обновитесь до 7:4.2.7-0ubuntu0.1+esm12

  • ffmpeg Ubuntu:Pro:22.04:LTS

    Версии
    • 7:4.4-6ubuntu5
    • 7:4.4.1-2ubuntu1
    • 7:4.4.1-3ubuntu1
    • 7:4.4.1-3ubuntu2
    • 7:4.4.1-3ubuntu3
    • 7:4.4.1-3ubuntu5
    • 7:4.4.2-0ubuntu0.22.04.1
    • 7:4.4.2-0ubuntu0.22.04.1+esm1
    • 7:4.4.2-0ubuntu0.22.04.1+esm2
    • 7:4.4.2-0ubuntu0.22.04.1+esm3
    • 7:4.4.2-0ubuntu0.22.04.1+esm4
    • 7:4.4.2-0ubuntu0.22.04.1+esm5
    • 7:4.4.2-0ubuntu0.22.04.1+esm6
    • 7:4.4.2-0ubuntu0.22.04.1+esm7
    • 7:4.4.2-0ubuntu0.22.04.1+esm8
    • 7:4.4.2-0ubuntu0.22.04.1+esm9
    • 7:4.4.2-0ubuntu0.22.04.1+esm10
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:4.4.2-0ubuntu0.22.04.1+esm11

    Обновитесь до 7:4.4.2-0ubuntu0.22.04.1+esm11

  • ffmpeg Ubuntu:Pro:24.04:LTS

    Версии
    • 7:6.0-6ubuntu1
    • 7:6.0-9ubuntu1
    • 7:6.1-2ubuntu1
    • 7:6.1-3ubuntu1
    • 7:6.1-4ubuntu1
    • 7:6.1-5ubuntu1
    • 7:6.1.1-1ubuntu1
    • 7:6.1.1-3ubuntu1
    • 7:6.1.1-3ubuntu5
    • 7:6.1.1-3ubuntu5+esm1
    • 7:6.1.1-3ubuntu5+esm2
    • 7:6.1.1-3ubuntu5+esm3
    • 7:6.1.1-3ubuntu5+esm4
    • 7:6.1.1-3ubuntu5+esm5
    • 7:6.1.1-3ubuntu5+esm6
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:6.1.1-3ubuntu5+esm7

    Обновитесь до 7:6.1.1-3ubuntu5+esm7

  • ffmpeg Ubuntu:25.10

    Версии
    • 7:7.1.1-1ubuntu1
    • 7:7.1.1-1ubuntu2
    • 7:7.1.1-1ubuntu3
    • 7:7.1.1-1ubuntu4
    • 7:7.1.1-1ubuntu4.1
    Затронутые диапазоны версий
    • ECOSYSTEM: < 7:7.1.1-1ubuntu4.2

    Обновитесь до 7:7.1.1-1ubuntu4.2

Первоисточники

Проверьте свой сервер →