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.
[
{
"id": "CVE-2020-23914-69176862",
"signature_version": "v1",
"deprecated": false,
"source": "https://github.com/yhirose/cpp-peglib/commit/0061f393de54cf0326621c079dc2988336d1ebb3",
"target": {
"file": "peglib.h"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"143327657411845853706364732432047714027",
"334920685749213769228073951731449746527",
"12291384508830736500925591445046188984",
"183003434346659421475079663696476586312",
"138597885167665837198154317017487449694",
"162740308102681216509902116999422262881",
"141486962610510453940099920915013980409",
"227739702468128197815300046015901413046",
"39693275491623016054556102765444652823",
"210855172614649982907027233225598125993",
"253555357260913864384411709209377704997"
]
},
"signature_type": "Line"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-23914.json"