CVE-2020-23914

Source
https://cve.org/CVERecord?id=CVE-2020-23914
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-23914.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-23914
Downstream
Published
2021-04-21T18:15:08Z
Modified
2026-05-18T13:28:30Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/yhirose/cpp-peglib

Affected ranges

Type
GIT
Repo
https://github.com/yhirose/cpp-peglib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:cpp-peglib_project:cpp-peglib:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "0.1.12"
        }
    ],
    "source":  "CPE_FIELD"
}

Affected versions

v0.*
v0.1.0
v0.1.1
v0.1.10
v0.1.11
v0.1.12
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-23914.json"