GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2024-31582
Vulnerability from osv_ubuntu
Published
2024-04-17 19:15
Modified
2026-04-22 07:48
Summary
Details

FFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the draw_block_rectangle function of libavfilter/vf_codecview.c. This vulnerability allows attackers to cause undefined behavior or a Denial of Service (DoS) via crafted input.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavcodec-extra60",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavcodec60",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavdevice60",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavfilter-extra9",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavfilter9",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavformat-extra",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavformat-extra60",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavformat60",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libavutil58",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libpostproc57",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libswresample4",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          },
          {
            "binary_name": "libswscale7",
            "binary_version": "7:6.1.1-3ubuntu5+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:6.1.1-3ubuntu5+esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:6.1.1-3ubuntu5+esm1"
            }
          ],
          "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"
      ]
    }
  ],
  "aliases": [],
  "details": "FFmpeg version n6.1 was discovered to contain a heap buffer overflow vulnerability in the draw_block_rectangle function of libavfilter/vf_codecview.c. This vulnerability allows attackers to cause undefined behavior or a Denial of Service (DoS) via crafted input.",
  "id": "UBUNTU-CVE-2024-31582",
  "modified": "2026-04-22T07:48:47Z",
  "published": "2024-04-17T19:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-31582"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-31582"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavfilter/vf_codecview.c#L220"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ffmpeg/ffmpeg/commit/99debe5f823f45a482e1dc08de35879aa9c74bd2"
    },
    {
      "type": "REPORT",
      "url": "https://gist.github.com/1047524396/b47d5efe3bc420fb91dbb77c73c0fff3"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6803-1"
    }
  ],
  "related": [
    "USN-6803-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-31582"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…