Lucene search

K
cve[email protected]CVE-2022-2566
HistorySep 23, 2022 - 12:15 p.m.

CVE-2022-2566

2022-09-2312:15:10
CWE-122
CWE-190
web.nvd.nist.gov
21
5
cve-2022-2566
ffmpeg
heap
out-of-bounds
memory write
remote code execution

9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

41.6%

A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in build_open_gop_key_points() goes through all entries in the loop and adds sc->ctts_data[i].count to sc->sample_offsets_count. This can lead to an integer overflow resulting in a small allocation with av_calloc(). An attacker can cause remote code execution via a malicious mp4 file. We recommend upgrading past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05

Affected configurations

Vulners
NVD
Node
ffmpegffmpegRange5.1
VendorProductVersionCPE
ffmpegffmpeg*cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "FFMPEG",
    "vendor": "FFMPEG",
    "versions": [
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "5.1",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "ab77b878f1205225c6de1370fb0e998dbcc8bc69",
        "versionType": "custom"
      },
      {
        "lessThan": "c953baa084607dd1d84c3bfcce3cf6a87c3e6e05",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

0.001 Low

EPSS

Percentile

41.6%