1. Home
  2. Vulnerabilities
  3. CVE-2026-137910

CVE-2026-137910

FFmpeg before 9.1 Out-of-Bounds Read via PCX Encoder Odd-Width Rows

Published 27 Nov 2026 · modified 3 Dec 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 23/100

Summary

FFmpeg before 9.1 contains an out-of-bounds read vulnerability in pcx_encode_frame() in libavcodec/pcxenc.c that rounds each row up to an even number of bytes and run-length encodes that many bytes from the input frame. Attackers who control the width of images encoded to PCX by an application that supplies tightly packed frames can make the encoder read past the end of the frame buffer, crashing the application or leaking heap contents into the output image.

Affected products and versions

Ffmpeg (2 line(s))
Ffmpeg
ProductVersionsFixed inSource
Ffmpeg before 9.1 (excluded) — CNA (vendor or assigner)
Ffmpeg before 9.1 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H (CVSS 3.1, CNA:1a4f025a-074d-4105-b4e2-52bd8eabe2ea)
Weakness
CWE-125 · Corruption mémoire

How this data is obtained and calculated