---
id: CVE-2019-19721
title: >-
  An off-by-one error in the DecodeBlock function in codec/sdl_image.c in
  VideoLAN VLC media player before 3.0.9 allows remote attackers to cause a
  denial of service (memory corruption) via a crafted image file
summary: >-
  An off-by-one error in the DecodeBlock function in codec/sdl_image.c in
  VideoLAN VLC media player before 3.0.9 allows remote attackers to cause a
  denial of service (memory corruption) via a crafted image file. NOTE: this may
  be related t…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-193
  - CWE-787
vendor: videolan
product: vlc_media_player
affected:
  - vlc_media_player < 3.0.9
patched:
  - vlc_media_player 3.0.9
published: '2020-05-15'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:16:51.790'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2019-19721'
references:
  - url: 'http://hg.libsdl.org/SDL_image/'
    label: cve@mitre.org
  - url: 'https://bugs.gentoo.org/721940'
    label: cve@mitre.org
  - url: >-
      https://git.videolan.org/?p=vlc/vlc-3.0.git%3Ba=commit%3Bh=72afe7ebd8305bf4f5360293b8621cde52ec506b
    label: cve@mitre.org
  - url: 'https://www.videolan.org/security/'
    label: cve@mitre.org
  - url: 'http://hg.libsdl.org/SDL_image/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugs.gentoo.org/721940'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://git.videolan.org/?p=vlc/vlc-3.0.git%3Ba=commit%3Bh=72afe7ebd8305bf4f5360293b8621cde52ec506b
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.videolan.org/security/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0199
epssPercentile: 0.80011
ingestedAt: '2026-10-08T23:16:47.305Z'
---

## Overview

An off-by-one error in the DecodeBlock function in codec/sdl_image.c in VideoLAN VLC media player before 3.0.9 allows remote attackers to cause a denial of service (memory corruption) via a crafted image file. NOTE: this may be related to the SDL_Image product.

## Affected

- `vlc_media_player < 3.0.9`

## Remediation

Upgrade past the affected range:

- `vlc_media_player 3.0.9`
