CVE-2024-38949
Medium · 6.5CVSS
6.5
EPSS
0.4%
Published
Jun 26, 2024
CISA due date
—
Cloudanix analysis
A bug in a video library can make programs that play certain video files crash when they receive a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap buffer overflow in the display444as420 function of libde265 allows a crafted input to trigger memory corruption that crashes the process.
Why it matters to the business
Video decoding or playback applications using the library become unavailable after processing malicious content, causing service disruption for media workflows that rely on HEVC streams.
How an attack unfolds
An attacker crafts a malicious video payload that reaches the display444as420 function when rendered or decoded by an affected application; the overflow occurs on the heap and immediately terminates the process.
How to fix it
Upgrade libde265 to a version that resolves the overflow; on the listed Ubuntu releases apply the referenced kernel package updates that include the corrected library (linux 3.13.0-49.81 or later for 14.04 LTS, linux 4.2.0-16.19 or later for 16.04 LTS, and equivalent packages for aws, gke, hwe, raspi2, snapdragon, and lts variants).
How to confirm the fix worked
Confirm the installed libde265 package version is at or above the fixed release for the distribution; re-test decoding of known trigger files to verify the crash no longer occurs.
Typical attack path
- Deliver a specially crafted HEVC video file or stream to a target application that links against libde265
- Trigger decoding or display path that calls display444as420
- Overflow corrupts heap memory and forces an immediate crash
How to detect it
Review application or system logs for unexpected crashes in processes that call into libde265 around the time of video processing; correlate with inbound video files from untrusted sources.
What your security team should do
- Prioritize patching systems that decode untrusted HEVC content
- Apply the exact fixed kernel packages listed for each Ubuntu release
- Disable or sandbox libde265 usage for external media until updates are deployed
The record
Heap Buffer Overflow vulnerability in Libde265 v1.0.15 allows attackers to crash the application via crafted payload to display444as420 function at sdl.cc
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libde265 | 0 | No fix |
| Debian:12 | libde265 | 0 | No fix |
| Debian:13 | libde265 | 0 | No fix |
| Ubuntu:20.04:LTS | libde265 | 0 | No fix |
| Ubuntu:22.04:LTS | libde265 | 0 | No fix |
| Ubuntu:24.04:LTS | libde265 | 0 | No fix |
| Ubuntu:24.10 | libde265 | 0 | No fix |
| Ubuntu:25.04 | libde265 | 0 | No fix |
| Ubuntu:25.10 | libde265 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | libde265 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | libde265 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | libde265 | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | libde265 | 0 | No fix |
Related vulnerabilities
- CVE-2024-38950 Heap Buffer Overflow vulnerability in Libde265 v1.0.15 allows attackers to crash the… Also affects libde265
- CVE-2023-51792 Buffer Overflow vulnerability in libde265 v1.0.12 allows a local attacker to cause a… Also affects libde265
- CVE-2026-112403 Pillow is a Python imaging library. CWE-122
- CVE-2026-112393 Pillow is a Python imaging library. CWE-122
- CVE-2026-112395 Pillow is a Python imaging library. CWE-122
- CVE-2026-103658 GNU Aspell 0.60.8.2 (first vulnerable version is not known) contains a heap-based buffer… CWE-122
- CVE-2026-107161 A heap-based buffer overflow flaw was found in Cyrus SASL. CWE-122
- CVE-2026-106574 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-122