Skip to content
Heist/ feed
Back to feed
HighFix available

ffmpeg — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-59733

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.

Products
ffmpeg
Affected versions
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, 7:7.1.1-1
Fixed versions
7:5.1.7-0+deb12u1, 7:7.1.2-0+deb13u1, 7:7.1.2-1
CVEs
CVE-2025-59733
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:59 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-59733

core-osv · Original source

Published 6 Oct 2025, 08:15 UTC

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.

osv:DEBIAN-CVE-2025-59733

ffmpeg

Fixed versions: 7:5.1.7-0+deb12u1

ffmpeg

Fixed versions: 7:7.1.2-0+deb13u1

ffmpeg

Fixed versions: 7:7.1.2-1

Complete source record
{
  "id": "6865661e422873fa65ad3cc62f9991e6d4cbf113f2e9ade29956e8c945388b6e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-59733",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-59733",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-59733",
    "products": [
      {
        "name": {
          "value": "ffmpeg",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7:5.1.7-0+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "7:5.1.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7:5.1.3-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7:5.1.4-0+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7:5.1.5-0+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "7:5.1.6-0+deb12u1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ffmpeg",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7:7.1.2-0+deb13u1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "7:7.1.1-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "ffmpeg",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7:7.1.2-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "7:7.1.1-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2025-59733",
      "aliases": [
        "DEBIAN-CVE-2025-59733"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:A/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7:5.1.7-0+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "ffmpeg",
            "purl": "pkg:deb/debian/ffmpeg?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-59733.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7:7.1.2-0+deb13u1"
                }
              ]
            }
          ],
          "package": {
            "name": "ffmpeg",
            "purl": "pkg:deb/debian/ffmpeg?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "7:7.1.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-59733.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7:7.1.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ffmpeg",
            "purl": "pkg:deb/debian/ffmpeg?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "7:7.1.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-59733.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T17:47:31.654179222Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-59733"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-59733"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-59733",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 417429,
  "published_at": "2025-10-06T08:15:35.08+00:00"
}