Skip to content
Heist/ feed
Back to feed
UnratedFix available

flex — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
flex
Affected versions
Not specified
Fixed versions
2.5.33-1
CVEs
CVE-2006-0459
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 20:10 UTC · Revision 1

Source evidence

DEBIAN-CVE-2006-0459

core-osv · Original source

Published 29 Mar 2006, 23:02 UTC

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.

osv:DEBIAN-CVE-2006-0459

flex

Fixed versions: 2.5.33-1

flex

Fixed versions: 2.5.33-1

flex

Fixed versions: 2.5.33-1

Complete source record
{
  "id": "1cc1677ec56d59c64e28ec308ad9f892b4adb0474dc42df1a4d67be9bbd71177",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2006-0459",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2006-0459",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2006-0459",
    "products": [
      {
        "name": {
          "value": "flex",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5.33-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "flex",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5.33-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "flex",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.5.33-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2006-0459",
      "aliases": [
        "DEBIAN-CVE-2006-0459"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5.33-1"
                }
              ]
            }
          ],
          "package": {
            "name": "flex",
            "purl": "pkg:deb/debian/flex?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-0459.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5.33-1"
                }
              ]
            }
          ],
          "package": {
            "name": "flex",
            "purl": "pkg:deb/debian/flex?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-0459.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.5.33-1"
                }
              ]
            }
          ],
          "package": {
            "name": "flex",
            "purl": "pkg:deb/debian/flex?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2006-0459.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-22T23:47:20.911154279Z",
      "provider": "osv",
      "upstream": [
        "CVE-2006-0459"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2006-0459"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2006-0459",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 410285,
  "published_at": "2006-03-29T23:02:00+00:00"
}