CVE-2026-2903skvadrik re2c ast.cc check_and_merge_special_rules null pointer dereference
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | re2c | Fix pending | UBUNTU-CVE-2026-2903 | |
| Ubuntu 26.04 | re2c | Fix pending | UBUNTU-CVE-2026-2903 | |
| Ubuntu 25.10 | re2c | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-2903 | |
| Ubuntu 24.04 | re2c | Fix pending | UBUNTU-CVE-2026-2903 | |
| Ubuntu 22.04 | re2c | Fix pending | UBUNTU-CVE-2026-2903 | |
| Debian 14 | re2c | Fixed | 4.5.1-1 | DEBIAN-CVE-2026-2903 |
| Debian 13 | re2c | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-2903 | |
| Debian 12 | re2c | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-2903 | |
| Red Hat Enterprise Linux 8 | re2c | Not affected |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- skvadrik re2c: affected: 4.0, 4.1, 4.2, 4.3, 4.4
Vendor advisories:
References
- https://vuldb.com/?id.347210
- https://vuldb.com/?ctiid.347210
- https://vuldb.com/?submit.755030
- https://github.com/skvadrik/re2c/issues/571
- https://github.com/skvadrik/re2c/issues/571#issuecomment-3837675101
- https://github.com/oneafter/0202/blob/main/re/repro
- https://github.com/skvadrik/re2c/commit/febeb977936f9519a25d9fbd10ff8256358cdb97
- https://github.com/skvadrik/re2c/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.