ubuntu-cve-2025-59731
Vulnerability from osv_ubuntu
Published
2025-10-06 08:15
Modified
2026-04-22 07:56
Summary
Details

When decoding an OpenEXR file that uses DWAA or DWAB compression, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data. We read rle_raw_size from the input file at [0], we decompress and decode into the buffer td->rle_raw_data of size rle_raw_size at [1], and then at [2] we will access entries in this buffer up to (td->xsize - 1) * (td->ysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size. We recommend upgrading to version 8.0 or beyond.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libav-tools",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavcodec-extra-54",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavcodec54",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavdevice-extra-53",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavdevice53",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavfilter-extra-3",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavfilter3",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavformat-extra-54",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavformat54",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavresample1",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavutil-extra-52",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libavutil52",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libswscale-extra-2",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          },
          {
            "binary_name": "libswscale2",
            "binary_version": "6:9.20-0ubuntu0.14.04.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "libav",
        "purl": "pkg:deb/ubuntu/libav@6:9.20-0ubuntu0.14.04.1+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavcodec-extra58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavcodec58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavdevice58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavfilter-extra7",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavfilter7",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavformat-extra",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavformat-extra58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavformat58",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libavutil56",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libpostproc55",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libswresample3",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          },
          {
            "binary_name": "libswscale5",
            "binary_version": "7:4.4.2-0ubuntu0.22.04.1+esm11"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:4.4.2-0ubuntu0.22.04.1+esm11?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:4.4.2-0ubuntu0.22.04.1+esm11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavcodec-extra60",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavcodec60",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavdevice60",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavfilter-extra9",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavfilter9",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavformat-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavformat-extra60",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavformat60",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libavutil58",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libpostproc57",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libswresample4",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          },
          {
            "binary_name": "libswscale7",
            "binary_version": "7:6.1.1-3ubuntu5+esm7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:6.1.1-3ubuntu5+esm7?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:6.1.1-3ubuntu5+esm7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavcodec-extra61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavcodec61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavdevice61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavfilter-extra10",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavfilter10",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavformat-extra",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavformat-extra61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavformat61",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libavutil59",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libpostproc58",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libswresample5",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          },
          {
            "binary_name": "libswscale8",
            "binary_version": "7:7.1.1-1ubuntu4.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:7.1.1-1ubuntu4.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:7.1.1-1ubuntu4.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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"
      ]
    }
  ],
  "aliases": [],
  "details": "When decoding an OpenEXR file that uses DWAA or DWAB compression, the specified raw length of run-length-encoded data is not checked when using it to calculate the output data. We read rle_raw_size\u00a0from the input file at [0], we decompress and decode into the buffer td-\u003erle_raw_data\u00a0of size rle_raw_size\u00a0at [1], and then at [2] we will access entries in this buffer up to (td-\u003exsize - 1) * (td-\u003eysize - 1) + rle_raw_size / 2, which may exceed rle_raw_size. We recommend upgrading to version 8.0 or beyond.",
  "id": "UBUNTU-CVE-2025-59731",
  "modified": "2026-04-22T07:56:55Z",
  "published": "2025-10-06T08:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-59731"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-59731"
    },
    {
      "type": "REPORT",
      "url": "https://issuetracker.google.com/issues/436510153"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7982-1"
    }
  ],
  "related": [
    "USN-7982-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:A/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-59731"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…