{"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-07-08T17:56:44.973446Z","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"},{"fixed":"0061f393de54cf0326621c079dc2988336d1ebb3"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:cpp-peglib_project:cpp-peglib:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.1.12"}]}}],"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":{"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["143327657411845853706364732432047714027","334920685749213769228073951731449746527","12291384508830736500925591445046188984","183003434346659421475079663696476586312","138597885167665837198154317017487449694","162740308102681216509902116999422262881","141486962610510453940099920915013980409","227739702468128197815300046015901413046","39693275491623016054556102765444652823","210855172614649982907027233225598125993","253555357260913864384411709209377704997"],"threshold":0.9},"id":"CVE-2020-23914-69176862","signature_type":"Line","signature_version":"v1","source":"https://github.com/yhirose/cpp-peglib/commit/0061f393de54cf0326621c079dc2988336d1ebb3","target":{"file":"peglib.h"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-23914.json","vanir_signatures_modified":"2026-07-08T17:56:44Z"}}],"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"}]}