CVE-2026-70630

FFmpeg 3.0 < 9.0 Uninitialized Heap Memory Read in Screenpresso Decoder

Published Aug 6, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
FFmpeg versions from 3.0 up to, but not including, 9.0 contain an uninitialized heap memory read vulnerability in the native Screenpresso decoder (libavcodec/screenpresso.c) that allows attackers to recover sensitive memory contents by supplying a crafted SPV1 packet with a valid zlib stream that decompresses fewer bytes than the full frame requires. The screenpresso_decode_frame() function fails to validate the produced byte count before calling av_image_copy_plane() to copy the complete frame dimensions from the persistent ctx->inflated_buf buffer, causing unwritten heap memory from prior allocations or prior frames to be copied into decoded output and potentially exposing sensitive data such as userspace addresses from persistent decoding services.

Analysis

AI-generated

Technical impact

The vulnerability resides in the native Screenpresso decoder within FFmpeg (libavcodec/screenpresso.c). When a crafted SPV1 packet containing a valid zlib stream that decompresses fewer bytes than the full frame requires is processed, the screenpresso_decode_frame() function does not validate the number of decompressed bytes before invoking av_image_copy_plane() to copy the entire frame from a persistent buffer. This oversight allows unwritten heap memory from prior allocations or frames to be copied into the decoded output, potentially exposing sensitive data, including userspace addresses and other confidential information.

Affected Systems

Affected products include the FFmpeg library released under the name FFmpeg. Versions from 3.0 up to, but not including, 9.0 are vulnerable. Any deployment that incorporates these FFmpeg releases and employs the Screenpresso decoder for media handling is at risk. Version information for affected releases can be found in the vendor documentation and the referenced commits that address this issue.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity. The EPSS score is < 1%, and the vulnerability is not listed in CISA's KEV catalog, suggesting limited evidence of exploitation in the wild. The likely attack vector is through delivery of a malicious SPV1 packet to a system that processes media via the vulnerable decoder, which could be remote if the application accepts external video streams or local if the attacker can inject data into the decoder's input pipeline. Because the flaw involves reading uninitialized heap memory, the impact is information disclosure rather than privilege escalation or denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to version 9.0 or later, where the bug has been addressed.
  • If upgrading is not immediately feasible, disable or remove the Screenpresso decoder from the build or avoid feeding it SPV1 packets from untrusted sources.
  • Implement application-level logging of decoding failures and monitor for anomalous activity such as repeated decoding errors or large heap reads.

Generated by OpenCVE AI on August 15, 2026 at 01:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8750-1 FFmpeg vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
Type Values Removed Values Added
Description FFmpeg versions from 3.0 up to, but not including, 9.0 contain an uninitialized heap memory read vulnerability in the native Screenpresso decoder (libavcodec/screenpresso.c) that allows attackers to recover sensitive memory contents by supplying a crafted SPV1 packet with a valid zlib stream that decompresses fewer bytes than the full frame requires. The screenpresso_decode_frame() function fails to validate the produced byte count before calling av_image_copy_plane() to copy the complete frame dimensions from the persistent ctx->inflated_buf buffer, causing unwritten heap memory from prior allocations or prior frames to be copied into decoded output and potentially exposing sensitive data such as userspace addresses from persistent decoding services.
Title FFmpeg 3.0 < 9.0 Uninitialized Heap Memory Read in Screenpresso Decoder
Weaknesses CWE-908
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer

  • CWE-908

    Use of Uninitialized Resource

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:51 PM
Reserved
Aug 4, 2026, 8:17 PM
Status
Analyzed
Published
Aug 6, 2026, 10:18 PM
Modified
Sep 1, 2026, 3:35 PM
Severity
Moderate
Public date
Aug 6, 2026, 9:25 PM