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.
{
"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"
]
}{
"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"
}
]
}[
{
"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
}
]
"2026-07-17T00:53:32Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2903.json"