CVE
CVE-2020-11958
publishedre2c: heap-based buffer overflow in Scanner::fill in parse/scanner.cc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | re2c | Fixed | 1.3-r1 | Package fix record |
| Ubuntu | focal | re2c | Advisory build | 1.3-1ubuntu0.1 | USN-4338-2 |
| Alpine Linux | v3.11 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.12 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.13 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.14 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.15 | re2c | Fixed | 1.3-r1 | Package fix record |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.16 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.17 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.18 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.19 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.20 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.21 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.22 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.23 | re2c | Fixed | 1.3-r1 | Package fix record |
| Alpine Linux | v3.24 | re2c | Fixed | 1.3-r1 | Package fix record |
Description
re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- [oss-security] 20200421 Re: re2c: heap overflow in Scanner::fill (scanner.cc) http://www.openwall.com/lists/oss-security/2020/04/21/1
- https://blogs.gentoo.org/ago/2020/04/19/re2c-heap-overflow-in-scannerfill-scanner-cc/
- https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a
- GLSA-202007-28 https://security.gentoo.org/glsa/202007-28
- USN-4338-1 https://usn.ubuntu.com/4338-1/
- USN-4338-2 https://usn.ubuntu.com/4338-2/
- https://www.openwall.com/lists/oss-security/2020/04/19/1
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 57843b370770869d005be6a60725315976dd7b2865827c4e4d7f0a21f0d5d5ea
- Ingested
- 23 Sep 2026, 07:48:21 UTC
- Source record
- Official CVE record