CVE-2026-2903

Source
https://cve.org/CVERecord?id=CVE-2026-2903
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2903.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-2903
Downstream
Published
2026-02-22T00:32:09.412Z
Modified
2026-07-17T00:53:32.557047Z
Severity
  • 1.9 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
skvadrik re2c ast.cc check_and_merge_special_rules null pointer dereference
Details

A flaw has been found in skvadrik re2c up to 4.4. Impacted is the function checkandmergespecialrules of the file src/parse/ast.cc. This manipulation causes null pointer dereference. The attack can only be executed locally. The exploit has been published and may be used. Patch name: febeb977936f9519a25d9fbd10ff8256358cdb97. It is suggested to install a patch to address this issue.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2903.json",
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-404",
        "CWE-476"
    ]
}
References

Affected packages

Git / github.com/skvadrik/re2c

Affected ranges

Type
GIT
Repo
https://github.com/skvadrik/re2c
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "4.0"
        },
        {
            "last_affected": "4.0"
        },
        {
            "introduced": "4.1"
        },
        {
            "last_affected": "4.1"
        },
        {
            "introduced": "4.2"
        },
        {
            "last_affected": "4.2"
        },
        {
            "introduced": "4.3"
        },
        {
            "last_affected": "4.3"
        },
        {
            "introduced": "4.4"
        },
        {
            "last_affected": "4.4"
        }
    ]
}

Affected versions

4.*
4.0
4.0.1
4.0.2
4.1
4.2
4.3
4.3.1
4.4

Database specific

vanir_signatures
[
    {
        "digest": {
            "length": 1962.0,
            "function_hash": "291586698837642700167099358298615316628"
        },
        "signature_version": "v1",
        "source": "https://github.com/skvadrik/re2c/commit/febeb977936f9519a25d9fbd10ff8256358cdb97",
        "signature_type": "Function",
        "target": {
            "function": "check_and_merge_special_rules",
            "file": "src/parse/ast.cc"
        },
        "id": "CVE-2026-2903-50985907",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "51652395783220909632438727179018861303",
                "88507521459474349026850757608611613912",
                "11417266347209242241442601395639478243",
                "37449041676600533087540737702601212130",
                "220132697220520627608291557119638452585",
                "196033581757968595210306518800825857608",
                "99045384592536553511397574148745094117",
                "80096842499926482670328789496206509507",
                "80936037702368345783926879371942580424",
                "63190400494898379930819946684056161491"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/skvadrik/re2c/commit/febeb977936f9519a25d9fbd10ff8256358cdb97",
        "signature_type": "Line",
        "target": {
            "file": "src/parse/ast.cc"
        },
        "id": "CVE-2026-2903-b050b559",
        "deprecated": false
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "51061471588528320011066460877264252129"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/skvadrik/re2c/commit/febeb977936f9519a25d9fbd10ff8256358cdb97",
        "signature_type": "Line",
        "target": {
            "file": "test/conditions/cond_error_10.c"
        },
        "id": "CVE-2026-2903-e8921685",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-17T00:53:32Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2903.json"