CVE-2017-10699
Critical · 9.8CVSS
9.8
EPSS
4.5%
Published
Jun 30, 2017
CISA due date
—
Cloudanix analysis
A flaw in older media-handling software can let attackers crash programs or potentially take them over by sending specially made video files.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
Out-of-bounds heap memory write in avcodec 2.2.x triggered by memcpy() with incorrect size parameter, enabling denial of service via application crash or potential arbitrary code execution.
Why it matters to the business
Older media processing components in affected packages can be crashed or potentially compromised when handling untrusted input, though the issue is long-standing with low observed exploitation; organizations using prometheus packages must update to avoid residual risk in media-handling paths.
How an attack unfolds
An attacker crafts a malicious media stream or file that reaches avcodec 2.2.x, causing the library to compute an incorrect size for memcpy and write beyond heap bounds; this can crash the process or, under favorable memory conditions, allow control-flow hijacking to execute attacker-supplied code.
How to fix it
Upgrade prometheus (Chainguard) to 2.47.2-r3 or later and prometheus (Wolfi) to 2.47.2-r3 or later; rebuild any containers or images that embed the vulnerable avcodec dependency and verify no older 2.2.x versions remain in runtime environments.
How to confirm the fix worked
Confirm package versions match the fixed releases, scan container images for avcodec 2.2.x presence, and test media decoding paths with known-good and boundary-case inputs to ensure crashes no longer occur.
Typical attack path
- Deliver a specially crafted media file or stream to an application linked against vulnerable avcodec 2.2.x
- Trigger the faulty memcpy path during decoding
- Achieve heap corruption leading to crash or code execution
How to detect it
Review application and system logs for unexpected crashes or segmentation faults during media decoding; examine process memory dumps or core files for signs of heap corruption originating from avcodec.
What your security team should do
- Apply the listed package upgrades immediately across all prometheus deployments
- Audit build pipelines and base images for any remaining avcodec 2.2.x references
- Monitor EPSS and KEV updates for any future change in exploit activity
The record
avcodec 2.2.x, as used in VideoLAN VLC media player 2.2.7-x before 2017-06-29, allows out-of-bounds heap memory write due to calling memcpy() with a wrong size, leading to a denial of service (application crash) or possibly code execution.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | vlc | 0 | 2.2.6-3 |
| Debian:12 | vlc | 0 | 2.2.6-3 |
| Debian:13 | vlc | 0 | 2.2.6-3 |
| Debian:8 | vlc | 0 | 2.2.7-1~deb8u1 |
| Debian:9 | vlc | 0 | 2.2.7-1~deb9u1 |
| Mageia:5 | vlc | 0 | 2.2.8-1.0.mga5 |
| Mageia:5 | vlc | 0 | 2.2.8-1.0.mga5.tainted |
| Ubuntu:16.04:LTS | vlc | 0 | 2.2.2-5ubuntu0.16.04.3 |
| Ubuntu:Pro:14.04:LTS | vlc | 0 | 2.1.6-0ubuntu14.04.5+esm1 |
| Ubuntu:Pro:16.04:LTS | vlc | 0 | 2.2.2-5ubuntu0.16.04.5+esm1 |
| openSUSE:Tumbleweed | vlc | 0 | 3.0.16-1.5 |
Related vulnerabilities
- CVE-2024-46461 VLC media player 3.0.20 and earlier is vulnerable to denial of service through an integer… Also affects vlc
- CVE-2023-47359 Videolan VLC prior to version 3.0.20 contains an incorrect offset read that leads to a… Also affects vlc
- CVE-2023-47360 Videolan VLC prior to version 3.0.20 contains an Integer underflow that leads to an… Also affects vlc
- CVE-2022-41325 An integer overflow in the VNC module in VideoLAN VLC Media Player through 3.0.17.4… Also affects vlc
- CVE-2018-11529 VideoLAN VLC media player 2.2.x is prone to a use after free vulnerability which an… Also affects vlc
- CVE-2016-5108 Buffer overflow in the DecodeAdpcmImaQT function in modules/codec/adpcm.c in VideoLAN VLC… Also affects vlc
- CVE-2015-5949 VideoLAN VLC media player 2.2.1 allows remote attackers to cause a denial of service… Also affects vlc
- CVE-2013-6933 The parseRTSPRequestString function in Live Networks Live555 Streaming Media 2011.08.13… Also affects vlc