---
id: CVE-2026-120244
title: FFmpeg 2.1 through 9.0.2 Uninitialized Memory Leak via PCX Decoder
summary: >-
  FFmpeg 2.1 through 9.0.2 contains a use of uninitialized resource
  vulnerability in the PCX decoder that allows attackers to leak heap memory
  through truncated RLE scanlines. Attackers can craft a PCX image whose RLE
  data ends early, caus…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-908
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg >= 2.1 <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-02T17:03:59.875794Z'
published: '2026-11-01'
updated: '2026-11-02'
sourceUpdated: '2026-11-02T17:44:48.638Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-120244'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24868'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/ecd5dfc308a164757e7f25b1afefd8db21b43cf9
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcx.c#L45-L59'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-2.1-through-9.0.2-uninitialized-memory-leak-via-pcx-decoder
    label: >-
      VulnCheck Advisory: FFmpeg 2.1 through 9.0.2 Uninitialized Memory Leak via
      PCX Decoder
tags:
  - cve.org
epss: 0.00124
epssPercentile: 0.02128
ingestedAt: '2026-11-05T19:30:42.747Z'
---

## Overview

FFmpeg 2.1 through 9.0.2 contains a use of uninitialized resource vulnerability in the PCX decoder that allows attackers to leak heap memory through truncated RLE scanlines. Attackers can craft a PCX image whose RLE data ends early, causing pcx_decode_frame() to copy uninitialized av_malloc() buffer contents into visible decoded pixels.

## Affected

- `FFmpeg >= 2.1 <= 9.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
