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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2016/07/18/8 | mailing list third party advisory release notes |
http://www.openwall.com/lists/oss-security/2016/07/26/12 | mailing list third party advisory release notes |
https://github.com/westes/flex/commit/a5cbe929ac3255d371e698f62dc256afe7006466 | patch |
http://www.debian.org/security/2016/dsa-3653 | third party advisory vendor advisory |
https://security.gentoo.org/glsa/201701-31 | vendor advisory |