{"api_version":"1","generated_at":"2026-04-24T01:57:52+00:00","cve":"CVE-2006-0459","urls":{"html":"https://cve.report/CVE-2006-0459","api":"https://cve.report/api/cve/CVE-2006-0459.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-0459","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-0459"},"summary":{"title":"CVE-2006-0459","description":"flex.skl in Will Estes and John Millaway Fast Lexical Analyzer Generator (flex) before 2.5.33 does not allocate enough memory for grammars containing (1) REJECT statements or (2) trailing context rules, which causes flex to generate code that contains a buffer overflow that might allow context-dependent attackers to execute arbitrary code.","state":"PUBLISHED","assigner":"redhat","published_at":"2006-03-29 23:02:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://usn.ubuntu.com/260-1/","name":"https://usn.ubuntu.com/260-1/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"USN-260-1: flex vulnerability | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/19228","name":"http://secunia.com/advisories/19228","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Gentoo update for flex - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.us.debian.org/security/2006/dsa-1020","name":"http://www.us.debian.org/security/2006/dsa-1020","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"http://securityreason.com/securityalert/570","name":"http://securityreason.com/securityalert/570","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"SecurityReason","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/24995","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/24995","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["VDB Entry"],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200603-07.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200603-07.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Gentoo Linux Documentation\n--\n  flex: Potential insecure code generation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/23440","name":"http://www.osvdb.org/23440","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Patch"],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://www.securityfocus.com/bid/16896","name":"http://www.securityfocus.com/bid/16896","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory","VDB Entry"],"title":"Flex Code Generation Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://prdownloads.sourceforge.net/flex/flex-2.5.33.tar.bz2?download","name":"http://prdownloads.sourceforge.net/flex/flex-2.5.33.tar.bz2?download","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"],"title":"flex: the fast lexical analyser -  Browse Files at SourceForge.net","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://secunia.com/advisories/19126","name":"http://secunia.com/advisories/19126","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Ubuntu update for flex / gpc - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2006/0770","name":"http://www.vupen.com/english/advisories/2006/0770","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","URL Repurposed"],"title":"Webmail - OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=20060223020346.GA11231%40tabitha.home.tldz.org&forum_name=flex-announce","name":"http://sourceforge.net/mailarchive/forum.php?thread_name=20060223020346.GA11231%40tabitha.home.tldz.org&forum_name=flex-announce","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes"],"title":"flex: the fast lexical analyser / Thread: [Flex-announce] flex 2.5.33 released","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/19071","name":"http://secunia.com/advisories/19071","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Secunia - Advisories - Flex Generated C Parsers Buffer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/19424","name":"http://secunia.com/advisories/19424","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Secunia - Advisories - Debian update for flex","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-0459","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-0459","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2006","cve_id":"459","vulnerable":"1","versionEndIncluding":"2.5.32","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"westes","cpe5":"flex","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2006-0459","organization":"Red Hat","lastmodified":"2006-08-16","contributor":"Mark J Cox","statementText":"This issue only affects parsers which are generated by grammars which either use REJECT or rules with a variable trailing context (in these rules the parser has to keep all backtracking paths). The Red Hat Security Response Team analysed all packages that include flex generated parsers in Red Hat Enterprise Linux (2.1, 3, and 4) and found none were vulnerable.","cve_year":"2006","cve_id":"459","crc32":"117f7574"}],"enrichments":{"kev":null,"epss":{"cve_year":"2006","cve_id":"459","cve":"CVE-2006-0459","epss":"0.039700000","percentile":"0.883960000","score_date":"2026-04-19","updated_at":"2026-04-20 00:11:20"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T16:34:14.696Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://prdownloads.sourceforge.net/flex/flex-2.5.33.tar.bz2?download"},{"name":"23440","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/23440"},{"name":"DSA-1020","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.us.debian.org/security/2006/dsa-1020"},{"name":"ADV-2006-0770","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2006/0770"},{"name":"19071","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/19071"},{"name":"16896","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/16896"},{"name":"flex-bypass-security(24995)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/24995"},{"name":"GLSA-200603-07","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200603-07.xml"},{"name":"19228","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/19228"},{"name":"19424","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/19424"},{"name":"570","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/570"},{"name":"19126","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/19126"},{"name":"USN-260-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"https://usn.ubuntu.com/260-1/"},{"name":"[flex-announce] 20060222 flex 2.5.33 released","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=20060223020346.GA11231%40tabitha.home.tldz.org&forum_name=flex-announce"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2006-03-28T00:00:00.000Z","descriptions":[{"lang":"en","value":"flex.skl in Will Estes and John Millaway Fast Lexical Analyzer Generator (flex) before 2.5.33 does not allocate enough memory for grammars containing (1) REJECT statements or (2) trailing context rules, which causes flex to generate code that contains a buffer overflow that might allow context-dependent attackers to execute arbitrary code."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-03T20:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"http://prdownloads.sourceforge.net/flex/flex-2.5.33.tar.bz2?download"},{"name":"23440","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/23440"},{"name":"DSA-1020","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.us.debian.org/security/2006/dsa-1020"},{"name":"ADV-2006-0770","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2006/0770"},{"name":"19071","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/19071"},{"name":"16896","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/16896"},{"name":"flex-bypass-security(24995)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/24995"},{"name":"GLSA-200603-07","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200603-07.xml"},{"name":"19228","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/19228"},{"name":"19424","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/19424"},{"name":"570","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/570"},{"name":"19126","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/19126"},{"name":"USN-260-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"https://usn.ubuntu.com/260-1/"},{"name":"[flex-announce] 20060222 flex 2.5.33 released","tags":["mailing-list","x_refsource_MLIST"],"url":"http://sourceforge.net/mailarchive/forum.php?thread_name=20060223020346.GA11231%40tabitha.home.tldz.org&forum_name=flex-announce"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2006-0459","datePublished":"2006-03-29T23:00:00.000Z","dateReserved":"2006-01-27T00:00:00.000Z","dateUpdated":"2024-08-07T16:34:14.696Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2006-03-29 23:02:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":true,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:westes:flex:*:*:*:*:*:*:*:*","versionEndIncluding":"2.5.32","matchCriteriaId":"E0145625-8490-4671-A17C-85426C258AF9"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2006","CveId":"459","Ordinal":"1","Title":"CVE-2006-0459","CVE":"CVE-2006-0459","Year":"2006"},"notes":[{"CveYear":"2006","CveId":"459","Ordinal":"1","NoteData":"flex.skl in Will Estes and John Millaway Fast Lexical Analyzer Generator (flex) before 2.5.33 does not allocate enough memory for grammars containing (1) REJECT statements or (2) trailing context rules, which causes flex to generate code that contains a buffer overflow that might allow context-dependent attackers to execute arbitrary code.","Type":"Description","Title":"CVE-2006-0459"},{"CveYear":"2006","CveId":"459","Ordinal":"2","NoteData":"2006-03-29","Type":"Other","Title":"Published"},{"CveYear":"2006","CveId":"459","Ordinal":"3","NoteData":"2018-10-03","Type":"Other","Title":"Modified"}]}}}