Flex Code Generation Buffer Overflow Vulnerability

BID:16896

Info

Flex Code Generation Buffer Overflow Vulnerability

Bugtraq ID: 16896
Class: Boundary Condition Error
CVE: CVE-2006-0459
Remote: Yes
Local: No
Published: Mar 01 2006 12:00AM
Updated: Jan 02 2007 05:52PM
Credit: Chris Moore discovered this issue.
Vulnerable: Ubuntu Ubuntu Linux 5.10 powerpc
Ubuntu Ubuntu Linux 5.10 i386
Ubuntu Ubuntu Linux 5.10 amd64
Ubuntu Ubuntu Linux 5.0 4 powerpc
Ubuntu Ubuntu Linux 5.0 4 i386
Ubuntu Ubuntu Linux 5.0 4 amd64
Ubuntu Ubuntu Linux 4.1 ppc
Ubuntu Ubuntu Linux 4.1 ia64
Ubuntu Ubuntu Linux 4.1 ia32
GNU Flex 2.5.32
GNU Flex 2.5.31
GNU Flex 2.5.30
Gentoo Linux
Debian Linux 3.1 sparc
Debian Linux 3.1 s/390
Debian Linux 3.1 ppc
Debian Linux 3.1 mipsel
Debian Linux 3.1 mips
Debian Linux 3.1 m68k
Debian Linux 3.1 ia-64
Debian Linux 3.1 ia-32
Debian Linux 3.1 hppa
Debian Linux 3.1 arm
Debian Linux 3.1 amd64
Debian Linux 3.1 alpha
Debian Linux 3.1
Not Vulnerable: GNU Flex 2.5.33

Discussion

Flex Code Generation Buffer Overflow Vulnerability

Flex is prone to a buffer-overflow vulnerability. This issue is due to a failure in the application to do proper bounds checking on user-supplied data before using it in finite-sized memory buffers.

An attacker can exploit this issue to execute arbitrary code in the context of the user running the affected application. This may facilitate a compromise of the underlying computer.

Flex versions 2.5.31 and prior are vulnerable.

Exploit / POC

Flex Code Generation Buffer Overflow Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected]

Solution / Fix

Flex Code Generation Buffer Overflow Vulnerability

Solution:
The vendor has released version 2.5.33. to address this issue.

Please see the referenced vendor advisories for further information.


GNU Flex 2.5.30

GNU Flex 2.5.31

GNU Flex 2.5.32

Ubuntu Ubuntu Linux 4.1 ia32

Ubuntu Ubuntu Linux 4.1 ia64

Ubuntu Ubuntu Linux 4.1 ppc

Ubuntu Ubuntu Linux 5.0 4 amd64

Ubuntu Ubuntu Linux 5.0 4 powerpc

Ubuntu Ubuntu Linux 5.0 4 i386

Ubuntu Ubuntu Linux 5.10 powerpc

Ubuntu Ubuntu Linux 5.10 i386

Ubuntu Ubuntu Linux 5.10 amd64

References

Flex Code Generation Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report