{"id":"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-18T13:28:30.024151Z","published":"2021-04-21T18:15:08.237Z","references":[{"type":"FIX","url":"https://github.com/yhirose/cpp-peglib/commit/0061f393de54cf0326621c079dc2988336d1ebb3"},{"type":"EVIDENCE","url":"https://github.com/yhirose/cpp-peglib/issues/121"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yhirose/cpp-peglib","events":[{"introduced":"0"},{"last_affected":"14305f9f53cde207568f21675a1b9294a3ab28b4"}],"database_specific":{"cpe":"cpe:2.3:a:cpp-peglib_project:cpp-peglib:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.1.12"}],"source":"CPE_FIELD"}}],"versions":["v0.1.12","v0.1.11","v0.1.10","v0.1.9","v0.1.8","v0.1.7","v0.1.6","v0.1.5","v0.1.4","v0.1.3","v0.1.2","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/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"}]}