CVE-2024-38950
Medium · 6.5CVSS
6.5
EPSS
0.5%
Published
Jun 26, 2024
CISA due date
—
Cloudanix analysis
A flaw in a widely used video decoding library can let attackers send bad data that crashes applications handling video or images, interrupting services until the software is updated.
- 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 Libde265 v1.0.15 triggered during memcpy operations on a crafted input, resulting in application crash (denial of service).
Why it matters to the business
Media processing or decoding services using the affected library can be forced offline, causing service disruption for any systems handling untrusted video or image content; the large number of downstream Ubuntu packages increases exposure across cloud and on-prem environments.
How an attack unfolds
An attacker crafts a malicious payload that, when processed by Libde265, causes an out-of-bounds write inside the __interceptor_memcpy function; the malformed input is supplied over the network or via a file, leading to an immediate crash without further code execution.
How to fix it
Upgrade affected packages to the listed fixed versions: linux-aws (Ubuntu 14.04 LTS) to 4.4.0-1002.2, linux-azure (14.04) to 4.15.0-1023.24~14.04.1, linux-lts-xenial (14.04) to 4.4.0-13.29~14.04.1, linux (16.04) to 4.2.0-16.19 and all other listed 16.04/18.04 variants to their respective fixed revisions; rebuild or redeploy any containers or images that embed the vulnerable Libde265 library.
How to confirm the fix worked
Verify installed package versions match or exceed the fixed revisions for each Ubuntu release; run regression tests with known-malformed inputs to confirm the application no longer crashes; scan build artifacts for the vulnerable Libde265 version string.
Typical attack path
- Identify a target application or service that links against Libde265 and accepts untrusted input.
- Prepare a specially crafted payload designed to overflow the heap buffer during memcpy.
- Deliver the payload via network request, file upload, or media stream.
- Trigger processing of the input to invoke the vulnerable code path.
- Observe application crash and resulting denial of service.
How to detect it
Review application and system logs for sudden crashes or segmentation faults in processes linked to Libde265; correlate with inbound media file uploads or streams immediately preceding the crash; examine core dumps or stack traces for memcpy-related faults.
What your security team should do
- Prioritize patching all listed Ubuntu packages within the next maintenance window given the public disclosure date.
- Add Libde265 version checks to software bill-of-materials and dependency scanners.
- Implement input sanitization or sandboxing for any media decoding pipelines until patches are applied.
- Monitor EPSS and exploit maturity indicators for any future increase in weaponization.
The record
Heap Buffer Overflow vulnerability in Libde265 v1.0.15 allows attackers to crash the application via crafted payload to __interceptor_memcpy function.
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-38949 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