CVE-2026-137910
MEDIUM 5.8CVSS 4.0FFmpeg before 9.1 Out-of-Bounds Read via PCX Encoder Odd-Width Rows
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.
- Published
- 27 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
- NVD status
- Analyzed
- Weakness
- CWE-125
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 4.0 | MEDIUM 5.8 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | AISLE | CVSS 4.0 | MEDIUM 5.8 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H |
| CVE List | AISLE | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ffmpeg | ffmpegcpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* |
< 9.1 | 9.1 |
| CVE List | FFmpeg | FFmpeg | < 9.1 | 9.1 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 · Issue Tracking, Patch
- https://github.com/FFmpeg/FFmpeg · Product
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcxenc.c#L134 · Patch
- https://github.com/FFmpeg/FFmpeg/commit/b47e96b4eb50fef52cf1a9c7b0100a34cc05cce0 · Patch
History
- 3 Dec 2026 21:56 UTC · NVD: updated (other details)
- 3 Dec 2026 19:56 UTC · CVE List: updated (other details)
- 27 Nov 2026 18:57 UTC · NVD: status Undergoing Analysis → Analyzed; affected list changed (1 entry)
- 27 Nov 2026 14:57 UTC · NVD: first stored (published 27 Nov 2026)
- 27 Nov 2026 12:39 UTC · CVE List: first stored (published 27 Nov 2026)