CVE-2020-11958

NameCVE-2020-11958
Descriptionre2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
re2c (PTS)jessie0.13.5-1fixed
stretch0.16-2fixed
buster1.1.1-1fixed
bullseye, sid1.3-1vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
re2csource(unstable)(unfixed)
re2csourcebuster(not affected)
re2csourcejessie(not affected)
re2csourcestretch(not affected)

Notes

[buster] - re2c <not-affected> (Vulnerability introduced later)
[stretch] - re2c <not-affected> (Vulnerability introduced later)
[jessie] - re2c <not-affected> (Vulnerability introduced later)
http://blogs.gentoo.org/ago/2020/04/19/re2c-heap-overflow-in-scannerfill-scanner-cc/
Logical error introduced in: https://github.com/skvadrik/re2c/commit/2f3e597abce36fb7f41413373308b7f13fc98181 (1.2)
Vulnerability introduced in: https://github.com/skvadrik/re2c/commit/1edd26a35457c5835afd58b8fa8330d33e7a1192 (1.2)
https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a#commitcomment-38652070
Fixed by: https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a

Search for package or bug name: Reporting problems