CVE-2016-6354

critical
Published 2016-09-21 · Modified 2026-05-06
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

Description

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-6354

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-6354.html

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — http://www.openwall.com/lists/oss-security/2016/07/26/12

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — http://www.openwall.com/lists/oss-security/2016/07/18/8

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed2.6.1-1
debian debianbullseyefixed2.6.1-1
debian debianforkyfixed2.6.1-1
debian debiansidfixed2.6.1-1
debian debiantrixiefixed2.6.1-1
debian debian8.0affected

Application impact

VendorProductVersionsFixed
westesflex{"endIncluding":"2.6.0"}

References

CWEs

CWE-119

Verify integrity in audit chain (admin only). AS-IS.