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.
Published: 2026-08-06
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Sat, 15 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

Fri, 07 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 07 Aug 2026 17:30:00 +0000


Fri, 07 Aug 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Thu, 06 Aug 2026 22:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:51:32.804Z

Reserved: 2026-08-04T20:17:18.297Z

Link: CVE-2026-70630

cve-icon Vulnrichment

Updated: 2026-08-07T17:09:59.495Z

cve-icon NVD

Status : Received

Published: 2026-08-06T22:18:27.273

Modified: 2026-08-07T18:17:22.057

Link: CVE-2026-70630

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-06T21:25:31Z

Links: CVE-2026-70630 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T02:00:04Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer

  • CWE-908

    Use of Uninitialized Resource