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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-23914
Reference (s):
- https://github.com/yhirose/cpp-peglib/commit/0061f393de54cf0326621c079dc2988336d1ebb3
- https://github.com/yhirose/cpp-peglib/issues/121