re2c: heap-based buffer overflow in Scanner::fill in parse/scanner.cc (CVE-2020-11958)
re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.
References:
- https://www.openwall.com/lists/oss-security/2020/04/19/1
- https://blogs.gentoo.org/ago/2020/04/19/re2c-heap-overflow-in-scannerfill-scanner-cc/
Patch:
https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a
Affected branches:
-
master -
3.11-stable
Edited by Leo