CVE-2020-11958 json
re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.
published 2020-04-21 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-4295
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.
Patch / fix
- re2c Debian 14, Debian 13, Debian 12 1.3-2
debian advisories DEBIAN-CVE-2020-11958
- re2c Ubuntu 20.04 LTS 1.3-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2020-11958
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- re2c Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 1.3-r1
alpine advisories ALPINE-CVE-2020-11958
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-11958 updated cvss 2.8
re2c: heap-based buffer overflow in Scanner::fill in parse/scanner.cc
-
Red Hat Enterprise Linux 8 re2cnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a
patch, third-party-advisory
-
usn.ubuntu.com
/4338-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4338-2/
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/202007-28
vendor-advisory, third-party-advisory
-
blogs.gentoo.org
/ago/2020/04/19/re2c-heap-overflow-in-scannerfill-scanner-cc/
third-party-advisory
-
openwall.com
/lists/oss-security/2020/04/19/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2020/04/21/1
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-11958
- NVD CVE-2020-11958
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.