{"id":"UBUNTU-CVE-2022-23901","details":"A stack overflow re2c 2.2 exists due to infinite recursion issues in src/dfa/dead_rules.cc.","modified":"2025-10-24T04:53:29Z","published":"2022-03-29T12:15:00Z","upstream":["CVE-2022-23901"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-23901"},{"type":"REPORT","url":"https://github.com/skvadrik/re2c/issues/394"},{"type":"REPORT","url":"https://github.com/skvadrik/re2c/commit/a3473fd7be829cb33907cb08612f955133c70a96"},{"type":"REPORT","url":"https://github.com/skvadrik/re2c/commit/039c18949190c5de5397eba504d2c75dad2ea9ca"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-23901"}],"affected":[{"package":{"name":"re2c","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/re2c@0.13.5-1build2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.5-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"re2c","binary_version":"0.13.5-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23901.json"}},{"package":{"name":"re2c","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/re2c@0.16-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.13.5-1build2","0.15.3-1ubuntu1","0.16-1"],"ecosystem_specific":{"binaries":[{"binary_name":"re2c","binary_version":"0.16-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23901.json"}},{"package":{"name":"re2c","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/re2c@1.0.1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"re2c","binary_version":"1.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23901.json"}},{"package":{"name":"re2c","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/re2c@1.3-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-1","1.3-1","1.3-1build1","1.3-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"re2c","binary_version":"1.3-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23901.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}