{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:libpg_query_project:libpg_query:10-1.0.2:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "10-1.0.2"
              },
              {
                "last_affected": "10-1.0.2"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "d710cb0f3edf4a0f98dde5b4411ea103fd4b1807"
            },
            {
              "last_affected": "d710cb0f3edf4a0f98dde5b4411ea103fd4b1807"
            }
          ],
          "repo": "https://github.com/pganalyze/libpg_query",
          "type": "GIT"
        }
      ],
      "versions": [
        "10-1.0.2"
      ]
    }
  ],
  "database_specific": {},
  "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.",
  "id": "CVE-2018-18482",
  "modified": "2026-08-27T03:30:24.076488542Z",
  "published": "2018-10-18T18:29:01.077Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/lfittl/libpg_query/issues/49"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}