{"id":"UBUNTU-CVE-2020-23914","details":"An issue was discovered in cpp-peglib through v0.1.12. A NULL pointer dereference exists in the peg::AstOptimizer::optimize() located in peglib.h. It allows an attacker to cause Denial of Service.","modified":"2026-05-20T16:04:16.541855847Z","published":"2021-04-21T18:15:00Z","upstream":["CVE-2020-23914"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-23914"},{"type":"REPORT","url":"https://github.com/yhirose/cpp-peglib/commit/0061f393de54cf0326621c079dc2988336d1ebb3"},{"type":"REPORT","url":"https://github.com/yhirose/cpp-peglib/issues/121"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-23914"}],"affected":[{"package":{"name":"salmon","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/salmon?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0+ds1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"salmon","binary_version":"1.4.0+ds1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-23914.json"}},{"package":{"name":"salmon","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/salmon?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2+ds1-1","1.10.2+ds1-1build1","1.10.2+ds1-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"salmon","binary_version":"1.10.2+ds1-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-23914.json"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.0+dfsg-1build1","1.15.0+dfsg-1","1.16.0.3+dfsg-1","1.18.0+dfsg-1","1.18.0+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"1.18.0+dfsg-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-23914.json"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0+dfsg-2build1","1.20.0+dfsg-2build2","1.20.0+dfsg-3","1.20.0+dfsg-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"1.20.0+dfsg-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-23914.json"}},{"package":{"name":"salmon","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/salmon?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2+ds1-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"salmon","binary_version":"1.10.2+ds1-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-23914.json"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0+dfsg-3","1.22.2+dfsg-1","1.22.2+dfsg-2","1.22.2+dfsg-2build1","1.22.2+dfsg-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"1.22.2+dfsg-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-23914.json"}},{"package":{"name":"salmon","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/salmon?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.2+ds1-1build2","1.10.3+ds1-1","1.10.3+ds1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"salmon","binary_version":"1.10.3+ds1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-23914.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}