Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-6354

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-6354
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:46 UTC · Revision 1

Source evidence

CVE-2016-6354

core-osv · Original source

Published 21 Sept 2016, 14:25 UTC

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.

osv:CVE-2016-6354
Complete source record
{
  "id": "2362204e70eab754a2a7f407787809bda0b4c07788ec5cee3b53a36397dc3eca",
  "url": "https://osv.dev/vulnerability/CVE-2016-6354",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-6354",
    "summary": "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.",
    "evidence": "osv:CVE-2016-6354",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-6354",
      "aliases": [
        "CVE-2016-6354"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/westes/flex",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "83d5d1695a2ab1d69ea4d8e7df27146c644876fc"
                },
                {
                  "fixed": "a5cbe929ac3255d371e698f62dc256afe7006466"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:westes:flex:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a5cbe929ac3255d371e698f62dc256afe7006466"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.6.0",
            "flex-2-5-10",
            "flex-2-5-5c",
            "flex-2-5-5b"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-6354.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:55.809407771Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/201701-31",
        "https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2016-6354",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379831,
  "published_at": "2016-09-21T14:25:20.8+00:00"
}