Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted ARIB STD-B24 caption media
-
DeliveryVictim decodes stream via libaribcaption text path
-
ExploitZero regions sizes sub->rects to zero
-
ExecutionPointer write past zero-sized allocation
-
ImpactHeap memory corruption / potential code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
|
| Exploitation Conditions | Exploitation requires an FFmpeg build (through 9.0.2) that includes the optional external libaribcaption decoder, and the decode path must use sub_type text; the attacker must supply a crafted ARIB STD-B24 caption stream with zero regions, which drives av_calloc(region_count, ...) to allocate a zero-sized sub->rects buffer that is then written past. Limiting factors: the vector is local (AV:L) and requires user interaction to decode the malicious media (UI:P), carries a specific attack requirement (AT:P) and high complexity (AC:H), and the libaribcaption decoder is not built by default - it is primarily present in builds targeting Japanese ARIB broadcast captioning, which materially narrows the exposed population. |
| Impact | The input provides a CVSS 4.0 base score of 7.3 (High) with vector AV:L/AC:H/AT:P/PR:N/UI:P, indicating a local attack vector that requires user interaction, carries a specific attack requirement (AT:P), and has high complexity - not a remotely-wormable flaw. There is no EPSS score and no KEV listing in the supplied data, and no PoC or exploit reference is present among the references (only the NVD entries, the FFmpeg source/commit, and the VulnCheck advisory), so exploitation signal is: no public exploit identified at time of analysis. The vuln.today priority Decision label is 'this_week', consistent with a serious memory-corruption bug that is not under active exploitation. The signals are internally consistent rather than conflicting: a high technical impact (VC/VI/VA:H - plausible code execution from heap corruption) is tempered by a local, high-complexity, user-interaction-dependent, attack-requirement-gated vector. Net: this is a genuine heap-overflow bug worth patching on a normal cycle, but it is not a drop-everything emergency - there is no evidence of active exploitation and the attack path depends on decoding attacker-supplied media through an optional, non-default decoder. EPSS and KEV data are simply absent from the input, not low - do not treat their absence as a 'low risk' confirmation. |
| Exploit ScenarioDerived | An attacker crafts a malicious ARIB STD-B24 caption stream containing zero regions and embeds it in a media file or stream. When a victim decodes that media with an FFmpeg build that has the libaribcaption decoder enabled and the text sub_type path active, the decoder writes a pointer past a zero-sized sub->rects allocation, corrupting the heap. No public exploit code is identified in the provided data; the vector is local and requires the victim to process the attacker-supplied media (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Heap buffer overflow in FFmpeg's optional libaribcaption decoder (through 9.0.2) lets a crafted ARIB STD-B24 caption stream containing zero regions write past a zero-sized sub->rects allocation, corrupting heap memory when decoding with sub_type text. The exposed population is narrow: the CVSS 4.0 vector is AV:L/AC:H/AT:P/PR:N/UI:P (score 7.3), so an attacker must first get a victim to open a malicious stream in a build compiled with the external libaribcaption dependency, which is mainly produced for Japanese ARIB broadcast captioning rather than default builds. No public exploit code is identified in the available sources at time of analysis; the referenced upstream pull request and commit 7c06aea6f0d26dd70c94ccba6127059cd0a0e352 are the fix, not exploit code, and no KEV or EPSS data was supplied.
RemediationAI
Apply the upstream fix commit 7c06aea6f0d26dd70c94ccba6127059cd0a0e352 (referenced with pull request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24992), which changes the rectangle allocation from av_calloc(region_count, ...) to av_calloc(1, ...); upstream fix is available as a PR/commit and a released patched version beyond 9.0.2 is not independently confirmed in the supplied data, so verify the fix is present before relying on a distribution build. Where a patched build is not yet available, compile FFmpeg without the external libaribcaption decoder (omit --enable-libaribcaption / build with --disable-libaribcaption), which removes the vulnerable code path entirely at the cost of losing ARIB STD-B24 caption rendering for Japanese broadcast content. Deployments that must keep the decoder should avoid processing untrusted ARIB caption streams and treat media from untrusted sources as the exposure vector, since the attack requires the victim to decode a crafted stream. Vendor references: https://github.com/FFmpeg/FFmpeg/commit/7c06aea6f0d26dd70c94ccba6127059cd0a0e352 and https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-overflow-in-libaribcaption-text-subtitle-decoding.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libaribcaption is an external, non-default FFmpeg dependency used by libavcodec/libaribcaption.c to render ARIB STD-B24 captions (the broadcast subtitle standard used in Japan). The flaw is classed CWE-131 (incorrect calculation of buffer size): in aribcaption_trans_text_subtitle(), the code sized the subtitle rectangle array with av_calloc(ctx->caption.region_count, sizeof(*sub->rects)), so a stream declaring zero regions produced a zero-element allocation, and subsequent per-region writes landed past that buffer. The upstream fix replaces the region_count argument with a fixed count of 1, guaranteeing a valid single-element allocation regardless of what the stream declares. The vulnerable site is the line linked at libavcodec/libaribcaption.c#L799 in the n9.0.2 tree. Note that CVSS 4.0 AT:P and AC:H describe attack requirements and complexity in this vector, not a specific race or timing mechanism; how precisely the write corrupts adjacent heap metadata is not described in the available sources. The assessed CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) is consistent with the 4.0 base score of 7.3.
Know when Ffmpeg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local decode of attacker-supplied media needing the optional libaribcaption text path and a zero-region trigger (AV:L, UI:R, AC:H), no auth (PR:N); heap corruption yields high C/I/A.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in aribcaption_trans_text_subtitle() in libavcodec/libaribcaption.c when decoding with sub_type text. Attackers can supply a crafted ARIB STD-B24 caption stream with zero regions, causing a pointer write past a zero-sized sub->rects allocation and corrupting heap memory.
Executive ViewAI
A heap buffer overflow vulnerability exists in FFmpeg's optional libaribcaption decoder, which is primarily used for Japanese ARIB broadcast captioning. This affects only builds compiled with the external libaribcaption dependency, not default FFmpeg distributions, and requires a user to open a malicious caption stream. While the vulnerability is rated high severity, the narrow exposure and lack of public exploit code limit immediate organizational risk, but teams using FFmpeg with this decoder should prioritize remediation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120299
GHSA-r9vp-qw7q-2fjh
NVD
CVE.org
EPSS
Exploit-DB