{"api_version":"1","generated_at":"2026-04-24T00:08:48+00:00","cve":"CVE-2016-6354","urls":{"html":"https://cve.report/CVE-2016-6354","api":"https://cve.report/api/cve/CVE-2016-6354.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-6354","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-6354"},"summary":{"title":"CVE-2016-6354","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2016-09-21 14:25:00","updated_at":"2023-10-06 17:12:00"},"problem_types":["CWE-119"],"metrics":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2016/07/18/8","name":"[oss-security] 20160718 CVE request: flex: Buffer overflow in generated code (yy_get_next_buffer)","refsource":"MLIST","tags":["Release Notes","Third Party Advisory"],"title":"oss-security - CVE request: flex: Buffer overflow in generated code\n (yy_get_next_buffer)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466","name":"https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466","refsource":"CONFIRM","tags":["Patch"],"title":"Fixed incorrect integer type · westes/flex@a5cbe92 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201701-31","name":"GLSA-201701-31","refsource":"GENTOO","tags":[],"title":"flex: Potential insecure code generation (GLSA 201701-31) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2016/07/26/12","name":"[oss-security] 20160726 Re: CVE request: flex: Buffer overflow in generated code (yy_get_next_buffer)","refsource":"MLIST","tags":["Release Notes","Third Party Advisory"],"title":"oss-security - Re: CVE request: flex: Buffer overflow in generated code (yy_get_next_buffer)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2016/dsa-3653","name":"DSA-3653","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-3653-1 flex","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-6354","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-6354","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2016","cve_id":"6354","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"6354","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"6354","vulnerable":"1","versionEndIncluding":"2.6.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"flex_project","cpe5":"flex","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2016","cve_id":"6354","vulnerable":"1","versionEndIncluding":"2.6.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"westes","cpe5":"flex","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2016-6354","qid":"710287","title":"Gentoo Linux Mozilla Firefox Multiple Vulnerabilities (GLSA 201802-03)"},{"cve":"CVE-2016-6354","qid":"710520","title":"Gentoo Linux flex Potential insecure code generation Vulnerability (GLSA 201701-31)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-6354","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20160718 CVE request: flex: Buffer overflow in generated code (yy_get_next_buffer)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/07/18/8"},{"name":"[oss-security] 20160726 Re: CVE request: flex: Buffer overflow in generated code (yy_get_next_buffer)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/07/26/12"},{"name":"https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466","refsource":"CONFIRM","url":"https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466"},{"name":"DSA-3653","refsource":"DEBIAN","url":"http://www.debian.org/security/2016/dsa-3653"},{"name":"GLSA-201701-31","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201701-31"}]}},"nvd":{"publishedDate":"2016-09-21 14:25:00","lastModifiedDate":"2023-10-06 17:12:00","problem_types":["CWE-119"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:westes:flex:*:*:*:*:*:*:*:*","versionEndIncluding":"2.6.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2016","CveId":"6354","Ordinal":"92654","Title":"CVE-2016-6354","CVE":"CVE-2016-6354","Year":"2016"},"notes":[{"CveYear":"2016","CveId":"6354","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2016","CveId":"6354","Ordinal":"2","NoteData":"2016-09-21","Type":"Other","Title":"Published"},{"CveYear":"2016","CveId":"6354","Ordinal":"3","NoteData":"2017-01-12","Type":"Other","Title":"Modified"}]}}}