Buffer overflow in Re2c
CVE-2020-11958
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.017 · 77.6th percentile
- Published
- 2020-04-21
re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.017, 77.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Re2c — versions 1.3
- Canonical Ubuntu Linux — versions 19.10, 20.04
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-11958). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- blogs.gentoo.org/ago/2020/04/19/re2c-heap-overflow-in-scannerfill-scanner-cc/ (Third Party Advisory)
- www.openwall.com/lists/oss-security/2020/04/19/1 (Mailing List, Third Party Advisory)
- github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a (Patch, Third Party Advisory)
- [oss-security] 20200421 Re: re2c: heap overflow in Scanner::fill (scanner.cc) (mailing-list, Mailing List, Third Party Advisory)
- USN-4338-1 (vendor-advisory, Third Party Advisory)
- USN-4338-2 (vendor-advisory, Third Party Advisory)
- GLSA-202007-28 (vendor-advisory, Third Party Advisory)