BreachSpiderVerified, not vibes

CVE-2008-3162 in Ffmpeg

Critical 9.3 Public exploit reported

Stack-based buffer overflow in the str_read_packet function in libavformat/psxstr.c in FFmpeg before r13993 allows remote attackers to cause a denial of service (application crash) or execute arbitrary code via a crafted STR file that interleaves audio and video sectors.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.09.3
EPSS9.3%
EPSS percentile96th
FixUnknown

Remotely exploitable over the network.

Affected products and versions

VendorProductAffected versions
Ffmpeg Ffmpeg 0.3 0.3.1 0.3.2 0.3.3 0.3.4 0.4.0
+8 more0.4.2 0.4.3 0.4.4 0.4.5 0.4.6 0.4.7 0.4.8 0.4.9

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

Stack-based buffer overflow in the str_read_packet function in libavformat/psxstr.c in FFmpeg before r13993 allows remote attackers to cause a denial of service (application crash) or execute arbitrary code via a crafted STR file that interleaves audio and video sectors.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2008-3162
BreachSpider IDBS-2008-GLOBAL-157967-C
CVSS vectorAV:N/AC:M/Au:N/C:C/I:C/A:C
Published2008-07-14
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-119: Improper Restriction of Operations within Memory Buffer

Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.

Related attack patterns (CAPEC)

CAPEC-8 Buffer Overflow in an API Call via CWE-119

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119

CAPEC-10 Buffer Overflow via Environment Variables via CWE-119

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119

CAPEC-24 Filter Failure through Buffer Overflow via CWE-119

Show all 12

CAPEC-42 MIME Conversion via CWE-119

CAPEC-44 Overflow Binary Resource File via CWE-119

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119

CAPEC-46 Overflow Variables and Tags via CWE-119

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119

CAPEC-100 Overflow Buffers via CWE-119

CAPEC-123 Buffer Manipulation via CWE-119

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A stack-based buffer overflow vulnerability exists in the str_read_packet function in libavformat/psxstr.c in FFmpeg versions prior to r13993. This vulnerability can be exploited by remote attackers to cause a denial of service or execute arbitrary code through a specially crafted STR file.

The vulnerability is triggered by a crafted STR file that interleaves audio and video sectors in a way that causes a buffer overflow in the str_read_packet function. This can lead to a crash of the application or the execution of arbitrary code with the privileges of the user running the application.

Questions

What is CVE-2008-3162?

A stack-based buffer overflow vulnerability exists in the str_read_packet function in libavformat/psxstr.c in FFmpeg versions prior to r13993. This vulnerability can be exploited by remote attackers to cause a denial of service or execute arbitrary code through a specially crafted STR file.

What is the CVSS score for CVE-2008-3162?

CVE-2008-3162 has CVSS 9.3 (Critical). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. EPSS: 9.3%.

Is CVE-2008-3162 actively exploited?

Public exploit available for CVE-2008-3162. Exploitation risk elevated.

How do I remediate CVE-2008-3162?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2008-3162?

CVE-2008-3162 affects Ffmpeg Ffmpeg.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ffmpeg","product":"Ffmpeg","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.