Description
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.
References
https://github.com/yhirose/cpp-peglib/commit/0061f393de54cf0326621c079dc2988336d1ebb3
PatchThird Party Advisory
https://github.com/yhirose/cpp-peglib/issues/121
ExploitThird Party Advisory
https://github.com/yhirose/cpp-peglib/commit/0061f393de54cf0326621c079dc2988336d1ebb3
PatchThird Party Advisory
https://github.com/yhirose/cpp-peglib/issues/121
ExploitThird Party Advisory
CVSS impact metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
5.5 · Medium
Information
Source identifier
Vulnerability status
Modified
Published
2021-04-21T18:15:08.237Z
5 years agoLast modified
2026-06-17T03:05:05.270Z
3 months ago