CVE-2017-13135
High · 7.8CVSS
7.8
EPSS
1.4%
Published
Nov 16, 2017
CISA due date
—
Cloudanix analysis
A flaw in a video encoding library can let someone crash programs or run harmful code on a computer if they trick it into opening a specially made video file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in CUData::initialize (common/cudata.cpp) when memory allocation fails, leading to application crash or potential memory corruption and code execution in the x265 video encoding library.
Why it matters to the business
Local attackers can crash video-processing applications or execute arbitrary code on affected systems; low but persistent risk in environments using the vulnerable library version, with remediation urgency driven by available public exploits despite stable low EPSS and no KEV listing.
How an attack unfolds
An attacker supplies specially crafted video or image input that triggers memory allocation failure inside x265's CUData::initialize function; the resulting NULL dereference allows control of execution flow on systems where the library processes untrusted content.
How to fix it
Upgrade kubernetes-fips-1.27 (Chainguard) to version 1.27.13-r0 or later; rebuild or replace any containers or packages that embed the vulnerable x265/libbpg components.
How to confirm the fix worked
Verify installed package versions against the fixed release 1.27.13-r0; re-run any build or dependency scans to confirm absence of the vulnerable x265 code; test media-processing workflows with known-bad inputs post-upgrade.
Typical attack path
- Identify target system running vulnerable x265 or dependent product
- Craft malicious input file designed to induce allocation failure
- Deliver file via local vector requiring user interaction (e.g., opening media)
- Trigger library code path leading to NULL dereference and potential exploitation
How to detect it
Review application and system logs for segmentation faults or crashes in x265-related processes; inspect media-processing service restarts coinciding with suspicious file access; correlate with local file execution events.
What your security team should do
- Immediately upgrade affected kubernetes-fips-1.27 packages to 1.27.13-r0
- Scan all container images and build pipelines for embedded x265 or libbpg
- Monitor for public exploit code and reassess EPSS trend
- Apply least-privilege execution contexts for video-encoding workloads
The record
A NULL Pointer Dereference exists in VideoLAN x265, as used in libbpg 0.9.7 and other products, because the CUData::initialize function in common/cudata.cpp mishandles memory-allocation failure.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | x265 | 0 | 2.6-3 |
| Debian:11 | x265 | 0 | 2.6-3 |
| Debian:12 | x265 | 0 | 2.6-3 |
| Debian:13 | x265 | 0 | 2.6-3 |
| Ubuntu:18.04:LTS | x265 | 0 | 2.6-3 |
| Ubuntu:Pro:16.04:LTS | x265 | 0 | 1.9-3ubuntu0.1~esm1 |
Related vulnerabilities
- CVE-2026-112405 Pillow is a Python imaging library. CWE-476
- CVE-2026-112392 Pillow is a Python imaging library. CWE-476
- CVE-2026-100348 kin-openapi is a Go project for handling OpenAPI files. CWE-476
- CVE-2026-100349 kin-openapi is a Go project for handling OpenAPI files. CWE-476
- CVE-2026-109280 ImageMagick 7.1.0-20 before 7.1.2-32 contains a use after free vulnerability in the -fx… CWE-476
- CVE-2026-109272 ImageMagick 7.1.1-31 before 7.1.2-32 contains a NULL pointer dereference in the… CWE-476
- CVE-2026-109258 ImageMagick 7.1.0-20 before 7.1.2-32 contains an invalid memory free vulnerability in the… CWE-476
- CVE-2026-107655 A flaw was found in CUPS. CWE-476