Description
An issue was discovered in cpp-peglib through v0.1.12. peg::resolve_escape_sequence() in peglib.h has a heap-based buffer over-read.
References (3)
Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/yhirose/cpp-peglib/issues/122
Patch, Third Party Advisory x_refsource_misc
https://github.com/yhirose/cpp-peglib/commit/b3b29ce8f3acf3a32733d930105a17d7b0ba347e
Technical Description x_refsource_misc
https://cwe.mitre.org/data/definitions/126.html
Scores
CVSS v3
5.5
EPSS
0.0020
EPSS Percentile
41.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (1)
cpp-peglib_project/cpp-peglib
< 0.1.12
Published
Apr 21, 2021
Tracked Since
Feb 18, 2026