flex: buffer overflow in generated code (yy_get_next_buffer)
Published Sep 21, 2016
9.8
CRITICALCVSS 3.0
EPSS 8.77%
Description
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.
Affected products
No data.
Configuration 1
- 8.0
No data.
Red Hat Enterprise Linux 5
flex
Not affected
Red Hat Enterprise Linux 6
flex
Not affected
Red Hat Enterprise Linux 7
bogofilter
Will not fix
Red Hat Enterprise Linux 7
flex
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | flex | Not affected | n/a |
| Red Hat Enterprise Linux 6 | flex | Not affected | n/a |
| Red Hat Enterprise Linux 7 | bogofilter | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | flex | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.77% (0.08767) | 95.02th | v5 (v2026.06.15) |
| Sep 22, 2026 | 8.77% (0.08767) | 94.93th | v5 (v2026.06.15) |
| Sep 21, 2026 | 6.39% (0.06385) | 93.44th | v5 (v2026.06.15) |
| Sep 6, 2026 | 8.77% (0.08767) | 94.81th | v5 (v2026.06.15) |
| Sep 5, 2026 | 6.39% (0.06385) | 93.30th | v5 (v2026.06.15) |
| Aug 30, 2026 | 8.77% (0.08767) | 94.78th | v5 (v2026.06.15) |
| Aug 28, 2026 | 6.39% (0.06385) | 93.26th | v5 (v2026.06.15) |
| Aug 24, 2026 | 8.77% (0.08767) | 94.75th | v5 (v2026.06.15) |
| Aug 23, 2026 | 6.39% (0.06385) | 93.23th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.84% (0.08838) | 94.51th | v5 (v2026.06.15) |
| May 31, 2026 | 36.24% (0.36245) | 97.19th | v4 (v2025.03.14) |
| Apr 17, 2026 | 37.71% (0.37715) | 97.21th | v4 (v2025.03.14) |
| Jan 30, 2026 | 43.34% (0.43342) | 97.40th | v4 (v2025.03.14) |
| Jul 13, 2025 | 36.85% (0.36848) | 96.96th | v4 (v2025.03.14) |
| Jun 19, 2025 | 43.64% (0.43637) | 97.36th | v4 (v2025.03.14) |
| Mar 30, 2025 | 28.75% (0.28747) | 96.13th | v4 (v2025.03.14) |
| Mar 29, 2025 | 39.23% (0.39235) | 95.90th | v4 (v2025.03.14) |
| Mar 17, 2025 | 28.75% (0.28747) | 96.14th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.70% (0.00705) | 81.03th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.70% (0.00705) | 79.74th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.70% (0.00705) | 77.30th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.46% (0.02464) | 81.64th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.46% (0.02464) | 79.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.46% (0.02464) | 58.48th | v2 (v2022.01.01) |
References (9)
- http://www.debian.org/security/2016/dsa-3653 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/07/18/8 mailing-listx_refsource_MLISTRelease NotesThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/07/26/12 mailing-listx_refsource_MLISTRelease NotesThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-6354 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1360743 Issue Tracking
- https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466 x_refsource_CONFIRMPatch
- https://nvd.nist.gov/vuln/detail/CVE-2016-6354
- https://security.gentoo.org/glsa/201701-31 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-6354
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2016/dsa-3653 | vendor-advisoryx_refsource_DEBIANThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2016/07/18/8 | mailing-listx_refsource_MLISTRelease NotesThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2016/07/26/12 | mailing-listx_refsource_MLISTRelease NotesThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2016-6354 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1360743 | Issue Tracking | |
| https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466 | x_refsource_CONFIRMPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-6354 | ||
| https://security.gentoo.org/glsa/201701-31 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2016-6354 |
Change history (0)
No recorded changes yet.