CVE-2016-6354: Heap-based buffer overflow in the yy_get_next_buffer function in Flex before 2.6.1 might allow context-depende
CVE-2016-6354 is a critical-severity flaw (CVSS 9.8) affecting debian linux, flex. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Heap-based buffer overflow in the yy_get_next_buffer function in Flex before 2.6.1 might allow context-dependent attackers to cause a denial of service or possibly execute arbitrary code via vectors involving num_to_read.
Why this priority
- Critical severity
- EPSS top 5%: very likely to be exploited
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 9.1% (top 5%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2016-09-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-6354?
debian linux: mitigate or apply the listed mitigation; flex: upgrade to newer than 2.6.0. Exact commands for each OS are on this page.
Is CVE-2016-6354 being exploited?
CVE-2016-6354 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-6354 affect?
CVE-2016-6354 affects debian linux, flex. Severity is critical (CVSS 9.8). Heap-based buffer overflow in the yy_get_next_buffer function in Flex before 2.6.1 might allow context-dependent attackers to cause a denial of service or possibly execute arbitrary code via vectors involving num_to_read.
How urgent is CVE-2016-6354?
Priority 68/100. Critical severity; EPSS top 5%: very likely to be exploited; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-111497 CRITICAL 9.8 EXPLOITED UPGRADE UPGRADE Google Brotli Unchecked Return Value Vulnerability
- CVE-2025-38728 CRITICAL 9.1 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: smb3: fix for slab out of bounds on mount
- CVE-2025-38204 HIGH 7.8 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: jfs: fix array-index-out-of-bounds read i
- CVE-2024-26889 MEDIUM 5.5 UPGRADE MITIGATE In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Fix possible buffer
- CVE-2023-2462 MEDIUM 4.3 UPGRADE MITIGATE Inappropriate implementation in Prompts in Google Chrome prior to 113.0.5672.63 allowed a remote attacker to o