Vulnerability · Published Feb 22, 2026 · Assigned by VulDB
CVE-2026-2903skvadrik re2c ast.cc check_and_merge_special_rules null pointer dereference
Low 3.3
In plain English
A low-severity null pointer dereference in re2c from skvadrik. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | re2c | no fix listed | DEBIAN-CVE-2026-2903 |
| Debian:13 | re2c | no fix listed | DEBIAN-CVE-2026-2903 |
| Debian:14 | re2c | 4.5.1-1 | DEBIAN-CVE-2026-2903 |
| Ubuntu:22.04:LTS | re2c | no fix listed | UBUNTU-CVE-2026-2903 |
| Ubuntu:24.04:LTS | re2c | no fix listed | UBUNTU-CVE-2026-2903 |
| Ubuntu:25.10 | re2c | no fix listed | UBUNTU-CVE-2026-2903 |
| Ubuntu:26.04:LTS | re2c | no fix listed | UBUNTU-CVE-2026-2903 |
| Ubuntu:26.10 | re2c | no fix listed | UBUNTU-CVE-2026-2903 |
Affected products (as reported)
Weakness: CWE-476, CWE-404 · Vector: 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
References
- VDB-347210 | skvadrik re2c ast.cc check_and_merge_special_rules null pointer dereference vdb-entry, technical-description
- VDB-347210 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #755030 | skvadrik re2c 04f1424 NULL Pointer Dereference 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/oneafter/0202/blob/main/re/repro exploit
- https://github.com/skvadrik/re2c/commit/febeb977936f9519a25d9fbd10ff8256358cdb97 patch
- https://github.com/skvadrik/re2c/ product