CVE-2026-56711
VLC media player computes the size of a picture buffer with 32-bit arithmetic and allocates from the wrapped result. In AllocatePicture in src/misc/picture.c the running total is accumulated as i_bytes += p->i_pitch * p->i_lines, and both plane_t fields are declared int in include/vlc_picture.h, so the multiplication is evaluated at 32 bits and wraps before it is widened to the size_t accumulator. The overflow check that precedes it divides in 64-bit arithmetic and therefore does not constrain the product, and the subsequent comparison against PICTURE_SW_SIZE_MAX examines the already wrapped value, so both guards pass. aligned_alloc then reserves the small wrapped size while the decoder writes scanlines sized from the original dimensions. A crafted PNG whose IHDR declares large width and height reaches this path through the image demuxer, whose only size guard is on the input file's byte count rather than the declared dimensions, and the decoder in modules/codec/png.c writes past the end of the allocation with attacker-influenced length and content. Opening the file directly or through a playlist entry is sufficient, with no non-default settings.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.8
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CWE
- CWE-190, CWE-787
- Published
- 2026-09-09
- Last modified
- 2026-09-09
Affected products
- VideoLAN VLC media player
Weakness type
Related vulnerabilities
- CVE-2026-87823 — zstd-jni 1.1.1 through 1.5.7-13 Out-of-Bounds Read via Direct ByteBuffer Frame-Size Methods
- CVE-2026-87643 — Integer overflow in GPU in Google Chrome on on Android prior to 153.0.8010.36 allowed a remote...
- CVE-2026-87630 — Integer overflow in WebRTC in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to...
- CVE-2026-81987 — Acrobat Reader | Integer Overflow or Wraparound (CWE-190)
- CVE-2026-75771 — Photoshop Desktop | Integer Overflow or Wraparound (CWE-190)
- CVE-2026-75862 — Photoshop Desktop | Integer Overflow or Wraparound (CWE-190)
- CVE-2026-82007 — Photoshop Desktop | Integer Overflow or Wraparound (CWE-190)
- CVE-2026-75863 — Photoshop Desktop | Integer Overflow or Wraparound (CWE-190)