CCExtractor null pointer dereference in lib_ccx sei_message
Affects CCExtractor when parsing a malformed SEI NAL unit whose payload_type or payload_size fields extend to the end of the buffer. CVSS rates it Low (2.4). The fix is upstream patch 6c3fe67, and no fixed version is named.
- Exploited
- No known exploitation
- Fix
- Vendor patch: 6c3fe67
- Who is exposed
- Specific setups only
Summary
CCExtractor's lib_ccx component has a flaw in the sei_message function that causes a null pointer dereference. A local attacker with low privileges can trigger it, but only with some user interaction.
Written by a model
Original description
A security flaw has been discovered in CCExtractor up to 0.96.6. This impacts the function sei_message of the file src/lib_ccx/avc_functions.c of the component lib_ccx. The manipulation results in null pointer dereference. Attacking locally is a requirement. The exploit has been released to the public and may be used for attacks. The patch is identified as 6c3fe675b603515b3b3003aaa491cc0570429961. Applying a patch is advised to resolve this issue.
Who should check
Anyone running CCExtractor on untrusted MP4 or H.264 video files, since malformed SEI data can crash the tool.
“When parsing a malformed SEI NAL unit where the payload_type or payload_size fields extend to the end of the buffer”
What to do
Check whether your setup matches what the bug needs.
Input contains a malformed SEI NAL unit whose payload_type or payload_size fields extend to the end of the buffer.Apply the vendor's patch: 6c3fe67.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138212 (CCExtractor lib_ccx avc_functions.c sei_message null pointer dereference), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138212 (entry last updated 2026-11-29):
Affected:
- n/a CCExtractor: versions 0.96.0, 0.96.1, 0.96.2, 0.96.3, 0.96.4, 0.96.5, 0.96.6
Vendor patches: 6c3fe67 (source: https://github.com/CCExtractor/ccextractor/pull/2448). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- Input contains a malformed SEI NAL unit whose payload_type or payload_size fields extend to the end of the buffer. (source: https://github.com/CCExtractor/ccextractor/pull/2448)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, a user action.
CISA KEV: CVE-2026-138212 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138212 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/CCExtractor/ccextractor/pull/2448
- https://github.com/CCExtractor/ccextractor/commit/6c3fe675b603515b3b3003aaa491cc0570429961
- https://vuldb.com/vuln/445081
- https://vuldb.com/vuln/445081/cti
- https://vuldb.com/cve/CVE-2026-138212
- https://vuldb.com/submit/1071165
- https://github.com/CCExtractor/ccextractor/
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138212
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138212"}.Affected versions
- n/a CCExtractor0.96.0, 0.96.1, 0.96.2, 0.96.3, 0.96.4, 0.96.5, 0.96.6
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity2.4/10CVSS 2.4
- No patch0/5No signal
What would change the score
- Would score about 57 if added to CISA KEV
- Would score about 52 if CISA's SSVC rates exploitation active
- Would score about 17 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 10
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138212 |
| Record | NVD · CVE-2026-138212 |
| Public exploit code 1Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub). | |
| Exploit | GitHub · CCExtractor/ccextractor · Issue #2444 |
| Other links 7 | |
| Advisory | VulDB · Advisory #445081 |
| Advisory | VulDB · Threat intelligence #445081 |
| Advisory | VulDB · CVE-2026-138212 record |
| Advisory | VulDB · Submission #1071165 |
| Patch | GitHub · CCExtractor/ccextractor · Pull request #2448 |
| Patch | GitHub · CCExtractor/ccextractor · Commit 6c3fe675 |
| Repository | GitHub · CCExtractor/ccextractor · Repository |
Questions about CVE-2026-138212
Is CVE-2026-138212 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A malformed SEI NAL unit makes sei_message() return NULL, and the code then dereferences that NULL pointer. The result is a SEGV that crashes ccextractor when it parses a crafted file.
Source: github.com
Which versions are affected by CVE-2026-138212?
CCExtractor: versions 0.96.0, 0.96.1, 0.96.2, 0.96.3, 0.96.4 and 2 more.
Source: cve.now feed data
Am I affected, and how do I check?
The bug is triggered when the input contains a malformed SEI NAL unit whose payload_type or payload_size fields extend to the end of the buffer. The facts list no affected version ranges, so a reader can check the ccextractor version they run against the project's release history.
Source: github.com
How do I fix CVE-2026-138212?
Apply upstream patch 6c3fe67, which breaks out of the loop when sei_message() returns NULL. The facts name no fixed release version.
Source: github.com
Related
- CVE-2026-137746Free5GC SMF resource consumption
- CVE-2026-137455FreeRDP before 3.33.0 Proxy NULL Pointer Dereference via Early REFRESH_RECT PDU
- CVE-2026-137545Coder 2.37.0 before 2.37.3 DoS via nil Node in tailnet UpdateSelf
- CVE-2026-138052OpenAirInterface oai-cn5g-amf AMF amf_sbi.cpp discover_smf denial of service
- CVE-2026-138049OpenAirInterface oai-cn5g-nrf NRF nrf_client.cpp notify_subscribed_event null pointer dereference
- CVE-2026-138039Open5GS SMF context.c smf_ue_find_by_imsi denial of service
No corrections so far. Something wrong on this page? Report an error.