Skip to content
Fencer Intel
critical 9.8

CVE-2016-6354 json

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 denia…

published 10y ago modified 4mo ago also EUVD-2016-7277

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.1%
EPSS 9.1% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

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.

Patch / fix

  • flex Debian 14, Debian 13, Debian 12 2.6.1-1

debian advisories DEBIAN-CVE-2016-6354

  • wireshark SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 2.2.6-44.3
  • at SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 3.1.14-7.3
  • flex SLES for SAP 12 SP1, SLES 12 SP1, SLE Software Development Kit 12 SP1 2.5.37-8.1
  • netpbm SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 10.66.3-4.1
  • openslp SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +1 more 2.0.0-11.1
  • kdelibs4 SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 4.12.0-7.3
  • mdbtools SLE Software Development Kit 12 SP1 0.7-5.1
  • sgmltool SLE Software Development Kit 12 SP1 1.0.9-1075.1

suse advisories SUSE-SU-2017:1442-1SUSE-SU-2016:2397-1SUSE-SU-2016:2195-1SUSE-SU-2016:2131-1SUSE-SU-2016:2061-1

  • firefox-esr openSUSE Tumbleweed 128.5.1-1.1
  • MozillaFirefox openSUSE Tumbleweed 50.1.0-1.1
  • MozillaThunderbird openSUSE Tumbleweed 45.5.1-1.1
  • MozillaThunderbird Package Hub 12 45.3.0-9.1

opensuse advisories openSUSE-SU-2024:14572-1openSUSE-SU-2024:10071-1openSUSE-SU-2024:10230-1openSUSE-SU-2016:2253-1openSUSE-SU-2016:2254-1

  • flex Alpine 3.2 2.5.39-r1
  • flex Alpine 3.3 2.5.39-r3
  • flex Alpine 3.4 2.6.1-r0

alpine advisories ALPINE-CVE-2016-6354

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2016-6354 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-6354 updated cvss 5.9

flex: buffer overflow in generated code (yy_get_next_buffer)

  • Red Hat Enterprise Linux 7 flex, bogofilter, bogofilter-bogoupgrade
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 5 flex Red Hat Enterprise Linux 6 flex
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

9.12% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.