CVE-2016-6354

NameCVE-2016-6354
DescriptionHeap-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3653-1, DSA-3653-2
Debian Bugs832768

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
flex (PTS)bullseye2.6.4-8fixed
trixie, sid, bookworm2.6.4-8.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
flexsourcewheezy(not affected)
flexsourcejessie2.5.39-8+deb8u2DSA-3653-2
flexsource(unstable)2.6.1-1832768

Notes

[wheezy] - flex <not-affected> (Issue introduced with 2.5.36)
Intorduced by: https://github.com/westes/flex/commit/9ba3187a537d6a58d345f2874d06087fd4050399 (flex-2-5-36)
Fixed by: https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466 (v2.6.1)

Search for package or bug name: Reporting problems