{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-18482","published":"2018-10-18T18:29:01.077000Z","last_modified":"2026-06-17T01:47:22.347000Z","status":"Modified","cvss":{"version":"3.0","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-772"],"cpes":[{"criteria":"cpe:2.3:a:libpg_query_project:libpg_query:10-1.0.2:*:*:*:*:*:*:*","part":"a","vendor":"libpg_query_project","product":"libpg_query","version":"10-1.0.2"}],"cpes_truncated":false,"vendors":["libpg_query_project"],"products":["libpg_query_project/libpg_query"],"epss":{"score":0.0116,"percentile":0.66986,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vm3q-58wm-2r2x","ecosystem":"PyPI","name":"pg-query","purl":"pkg:pypi/pg-query","ranges":[{"introduced":"0","fixed":"0.28"}],"versions":["0.1","0.10","0.11","0.12","0.13","0.14","0.15","0.16","0.17","0.18","0.19","0.2","0.20","0.21","0.22","0.23","0.24","0.25","0.26","0.27","0.3","0.4","0.5","0.6","0.7","0.8","0.9"],"versions_truncated":false},{"advisory":"PYSEC-2018-154","ecosystem":"PyPI","name":"pg-query","purl":"pkg:pypi/pg-query","ranges":[{"introduced":"0","fixed":"0.28"}],"versions":["0.1","0.10","0.11","0.12","0.13","0.14","0.15","0.16","0.17","0.18","0.19","0.2","0.20","0.21","0.22","0.23","0.24","0.25","0.26","0.27","0.3","0.4","0.5","0.6","0.7","0.8","0.9"],"versions_truncated":false},{"advisory":"GHSA-vm3q-58wm-2r2x","ecosystem":"PyPI","name":"pglast","purl":"pkg:pypi/pglast","ranges":[{"introduced":"0","fixed":"0.28"}],"versions":[],"versions_truncated":false},{"advisory":"PYSEC-2026-895","ecosystem":"PyPI","name":"pglast","purl":"pkg:pypi/pglast","ranges":[{"introduced":"0","fixed":"0.28"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2018-18482/","html_en":"/en/cve/CVE-2018-18482/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-18482","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-18482"},"untrusted":{"vendor_name":"Libpg Query Project","product_name":"Libpg Query","desc_en":"An issue was discovered in libpg_query 10-1.0.2. There is a memory leak in pg_query_raw_parse in pg_query_parse.c, which might lead to a denial of service.","affected":[],"references":[{"url":"https://github.com/lfittl/libpg_query/issues/49","tags":["Exploit","Third Party Advisory"]}]}}