{"id":"UBUNTU-CVE-2016-6354","details":"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.","modified":"2025-10-24T04:45:51Z","published":"2016-09-21T14:25:00Z","upstream":["CVE-2016-6354"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-6354"},{"type":"REPORT","url":"http://seclists.org/oss-sec/2016/q3/97"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-6354"}],"affected":[{"package":{"name":"flex","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/flex@2.6.0-11?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.39-8","2.6.0-1","2.6.0-3","2.6.0-4","2.6.0-6","2.6.0-7","2.6.0-8","2.6.0-9","2.6.0-11"],"ecosystem_specific":{"binaries":[{"binary_name":"flex","binary_version":"2.6.0-11"},{"binary_name":"libfl-dev","binary_version":"2.6.0-11"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-6354.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}