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:11.570Z
Modified
2026-07-08T22:14:21.069808Z
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": [
        {
            "extracted_events": [
                {
                    "introduced": "19.10"
                },
                {
                    "last_affected": "19.10"
                },
                {
                    "introduced": "20.04"
                },
                {
                    "last_affected": "20.04"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "canonical:ubuntu_linux",
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/skvadrik/re2c

Affected ranges

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

Affected versions

1.*
1.3

Database specific

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