# CVE-2026-2903: skvadrik re2c ast.cc check_and_merge_special_rules null pointer dereference

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-22T00:32:09.412Z
- Modified: 2026-06-23T15:50:16.004Z
- Weaknesses: CWE-404, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A flaw has been found in skvadrik re2c up to 4.4. Impacted is the function check_and_merge_special_rules 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.

(As written by CVE List.)

## Affected

- skvadrik re2c: 4.0; 4.1; 4.2; 4.3; 4.4

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/oneafter/0202/blob/main/re/repro> (exploit)
- <https://vuldb.com/?id.347210> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.347210> (permissions-required, signature)
- <https://vuldb.com/?submit.755030> (third-party-advisory)
- <https://github.com/skvadrik/re2c/issues/571> (issue-tracking)
- <https://github.com/skvadrik/re2c/issues/571#issuecomment-3837675101> (issue-tracking)
- <https://github.com/skvadrik/re2c/commit/febeb977936f9519a25d9fbd10ff8256358cdb97> (patch)
- <https://github.com/skvadrik/re2c/> (product)

## Sources

- CVE List: [CVE-2026-2903](https://www.cve.org/CVERecord?id=CVE-2026-2903), CVE Terms of Use, modified 2026-06-23
- NVD: [CVE-2026-2903](https://nvd.nist.gov/vuln/detail/CVE-2026-2903), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2903 · Whole record: https://cve.day/CVE-2026-2903.json · Rebuilt by cve.day 2026-11-25T22:59:14.625Z
