# CVE-2020-23915: An issue was discovered in cpp-peglib through v0.1.12.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-21T17:41:06.000Z
- Modified: 2026-06-17T03:05:05.380Z
- Weaknesses: CWE-125
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cpp-peglib_project cpp-peglib: up to 0.1.12

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/yhirose/cpp-peglib/issues/122> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/yhirose/cpp-peglib/commit/b3b29ce8f3acf3a32733d930105a17d7b0ba347e> (patch, third-party-advisory)
- <https://cwe.mitre.org/data/definitions/126.html> (technical-description)

## Sources

- CVE List: [CVE-2020-23915](https://www.cve.org/CVERecord?id=CVE-2020-23915), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-23915](https://nvd.nist.gov/vuln/detail/CVE-2020-23915), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-23915 · Whole record: https://cve.day/CVE-2020-23915.json · Rebuilt by cve.day 2026-11-25T22:57:57.797Z
