{"id":"CVE-2018-18482","aliases":["GHSA-vm3q-58wm-2r2x","PYSEC-2018-154","PYSEC-2026-895"],"url":"https://o3.security/vulnerability/CVE-2018-18482","summary":"libpg_query memory leak","details":"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.","published":"2018-10-18T18:29:01.077Z","modified":"2026-08-27T08:14:58.448655Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"pg-query","fixedVersion":"0.28"},{"ecosystem":"PyPI","name":"pglast","fixedVersion":"0.28"}],"fix":null,"references":[{"type":"EVIDENCE","url":"https://github.com/lfittl/libpg_query/issues/49"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18482"},{"type":"PACKAGE","url":"https://github.com/lelit/pglast"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pg-query/PYSEC-2018-154.yaml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-27T08:14:58.448655Z"}}