ubuntu-cve-2024-31581
Vulnerability from osv_ubuntu
Published
2024-04-17 19:15
Modified
2025-07-16 05:13
Summary
Details

FFmpeg version n6.1 was discovered to contain an improper validation of array index vulnerability in libavcodec/cbs_h266_syntax_template.c. This vulnerability allows attackers to cause undefined behavior within the application.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ffmpeg",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "ffmpeg-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "ffmpeg-doc",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavcodec-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavcodec-extra",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavcodec-extra61",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavcodec-extra61-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavcodec61",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavcodec61-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavdevice-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavdevice61",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavdevice61-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavfilter-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavfilter-extra",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavfilter-extra10",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavfilter-extra10-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavfilter10",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavfilter10-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavformat-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavformat-extra",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavformat-extra61",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavformat-extra61-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavformat61",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavformat61-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavutil-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavutil59",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libavutil59-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libpostproc-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libpostproc58",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libpostproc58-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libswresample-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libswresample5",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libswresample5-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libswscale-dev",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libswscale8",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          },
          {
            "binary_name": "libswscale8-dbgsym",
            "binary_version": "7:7.1.1-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.04",
        "name": "ffmpeg",
        "purl": "pkg:deb/ubuntu/ffmpeg@7:7.1.1-1ubuntu1.1?arch=source\u0026distro=plucky"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7:7.1.1-1ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7:7.0.2-3ubuntu1",
        "7:7.1-3ubuntu1",
        "7:7.1-3ubuntu2",
        "7:7.1-3ubuntu3",
        "7:7.1-4ubuntu1",
        "7:7.1-4ubuntu2",
        "7:7.1.1-1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "FFmpeg version n6.1 was discovered to contain an improper validation of array index vulnerability in libavcodec/cbs_h266_syntax_template.c. This vulnerability allows attackers to cause undefined behavior within the application.",
  "id": "UBUNTU-CVE-2024-31581",
  "modified": "2025-07-16T05:13:59Z",
  "published": "2024-04-17T19:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-31581"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-31581"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ffmpeg/ffmpeg/commit/ce0c178a408d43e71085c28a47d50dc939b60196"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FFmpeg/FFmpeg/blob/n6.1.1/libavcodec/cbs_h266_syntax_template.c#L2048"
    },
    {
      "type": "REPORT",
      "url": "https://gist.github.com/1047524396/a7e9273e12553775826784035333cdd8"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-31581"
  ],
  "withdrawn": "2025-07-18T16:57:46Z"
}



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…