Vulnerabilities / CVE-2022-23901

critical

CVE-2022-23901

A stack overflow re2c 2.2 exists due to infinite recursion issues in s ...

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux. Rated lower by Amazon (medium).

Description

A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0re2c0:3.1-4.azl3
amazon linux 2re2c, re2c-debuginfo3.1-2.amzn2.0.1
amazon linux 2023re2c, re2c-debuginfo, re2c-debugsource3.1-1.amzn2023.0.1
conan::GitLab Advisory Database Communityre2c3.0
debian 11re2cno fix listed
debian 12re2c3.0-1
debian 13re2c3.0-1
debian 14re2c3.0-1
echore2c3.0-1
rapidfort amazon linux 2023re2c3.1-1.amzn2023.0.1
Show all 13 entries from 10 sources
SourcePackageFixed in
Azure Linux 3.0re2c0:3.1-4.azl3
amazon linux 2re2c3.1-2.amzn2.0.1
amazon linux 2re2c-debuginfo3.1-2.amzn2.0.1
amazon linux 2023re2c3.1-1.amzn2023.0.1
amazon linux 2023re2c-debuginfo3.1-1.amzn2023.0.1
amazon linux 2023re2c-debugsource3.1-1.amzn2023.0.1
conan::GitLab Advisory Database Communityre2c3.0
debian 11re2cno fix listed
debian 12re2c3.0-1
debian 13re2c3.0-1
debian 14re2c3.0-1
echore2c3.0-1
rapidfort amazon linux 2023re2c3.1-1.amzn2023.0.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.