Home / Westes / Flex / CVE-2006-0459
CVE-2006-0459: is it exploited, and which versions of Westes Flex are affected and fixed?
CVE-2006-0459 is a memory corruption (buffer overflow) vulnerability in Westes Flex. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: flex through 2.5.32 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is CVE-2006-0459?
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.
From the CVE record by redhat, last updated August 7, 2024, 16:34 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| westes | flex | through 2.5.32 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:20 UTC.
How severe is CVE-2006-0459?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2006-0459 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.71% probability of exploitation activity in the next 30 days, percentile 92.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- http://prdownloads.sourceforge.net/flex/flex-2.5.33.tar.bz2?download x_refsource_CONFIRM
- 23440 vdb-entry, x_refsource_OSVDB
- DSA-1020 vendor-advisory, x_refsource_DEBIAN
- ADV-2006-0770 vdb-entry, x_refsource_VUPEN
- 19071 third-party-advisory, x_refsource_SECUNIA
- 16896 vdb-entry, x_refsource_BID
- flex-bypass-security(24995) vdb-entry, x_refsource_XF
- GLSA-200603-07 vendor-advisory, x_refsource_GENTOO
- 19228 third-party-advisory, x_refsource_SECUNIA
- 19424 third-party-advisory, x_refsource_SECUNIA
- 570 third-party-advisory, x_refsource_SREASON
- 19126 third-party-advisory, x_refsource_SECUNIA
- USN-260-1 vendor-advisory, x_refsource_UBUNTU
- [flex-announce] 20060222 flex 2.5.33 released mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- January 27, 2006
- Published
- March 29, 2006, 23:00 UTC
- CVE record updated
- August 7, 2024, 16:34 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 22:20 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Flex?
- Jan 15, 2019CVE-2019-6293 Westes Flex: uncontrolled recursion
- Sep 21, 2016CVE-2016-6354 Debian Linux: memory corruption (buffer overflow)
Questions about CVE-2006-0459
Is CVE-2006-0459 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 4.71% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Westes Flex are affected by CVE-2006-0459?
flex through 2.5.32, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2006-0459?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2006-0459?
High (7.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2006-0459?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.