Code execution via VNC framebuffer overflow
Published Dec 6, 2022 · Updated Apr 23, 2025
Integer overflow in VLC Media Player's VNC module through 3.0.17.4 allows remote attackers to crash VLC or execute code via crafted VNC streams. The mallocFrameBufferHandler function multiplies attacker-controlled width, height, and pixel depth in a signed integer, allocates a truncated buffer, and then permits out-of-bounds framebuffer writes. Exploitation requires a user to open a crafted playlist or deliberately connect to a rogue VNC server; vendor testing reported crashes as the likely result and no observed code-execution exploits.
Summary
What happened
Integer overflow in VLC Media Player's VNC module through 3.0.17.4 allows remote attackers to crash VLC or execute code via crafted VNC streams. The mallocFrameBufferHandler function multiplies attacker-controlled width, height, and pixel depth in a signed integer, allocates a truncated buffer, and then permits out-of-bounds framebuffer writes. Exploitation requires a user to open a crafted playlist or deliberately connect to a rogue VNC server; vendor testing reported crashes as the likely result and no observed code-execution exploits.
The record
- CVE
- CVE-2022-41325
- Published
- Dec 6, 2022
- Updated
- Apr 23, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-190, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 6, 2022CVE publishedPublication date reported by the CVE source.
- Apr 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- VLC VNC integer overflow proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo