CVE-2020-11958

Source
https://cve.org/CVERecord?id=CVE-2020-11958
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11958.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-11958
Downstream
Published
2020-04-21T01:15:11Z
Modified
2026-08-07T15:14:13Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

re2c 1.3 has a heap-based buffer overflow in Scanner::fill in parse/scanner.cc via a long lexeme.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "19.10"
                },
                {
                    "last_affected":  "19.10"
                },
                {
                    "introduced":  "20.04"
                },
                {
                    "last_affected":  "20.04"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        }
    ]
}
References

Affected packages

Git / github.com/skvadrik/re2c

Affected ranges

Type
GIT
Repo
https://github.com/skvadrik/re2c
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:re2c:re2c:1.3:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "1.3"
        },
        {
            "last_affected":  "1.3"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11958.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "333593729438856307916757536742331749380",
            "length":  689
        },
        "id":  "CVE-2020-11958-1ed4ef83",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a",
        "target":  {
            "file":  "src/parse/scanner.cc",
            "function":  "Scanner::fill"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "49856157583685485338382242415855956217",
                "62389220857190960901324283129598467832",
                "184037409826309927940272893902015140416",
                "273502829212453987266105187472144333968",
                "61068454445922609334293328596814080330",
                "171489683377489733976258294719111059476",
                "63121316251367159155147134380828191841",
                "239987518835152770604035393540266182148"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2020-11958-ff60d1f0",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/skvadrik/re2c/commit/c4603ba5ce229db83a2a4fb93e6d4b4e3ec3776a",
        "target":  {
            "file":  "src/parse/scanner.cc"
        }
    }
]
vanir_signatures_modified
"2026-08-07T15:14:13Z"