Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pglast
  4. ›
  5. CVE-2018-18482

CVE-2018-18482: libpg_query memory leak

May 13, 2022 (updated November 26, 2024)

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.

References

  • github.com/advisories/GHSA-vm3q-58wm-2r2x
  • github.com/lelit/pglast
  • github.com/lfittl/libpg_query/issues/49
  • github.com/pypa/advisory-database/tree/main/vulns/pg-query/PYSEC-2018-154.yaml
  • nvd.nist.gov/vuln/detail/CVE-2018-18482

Code Behaviors & Features

Detect and mitigate CVE-2018-18482 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.28

Fixed versions

  • 0.28

Solution

Upgrade to version 0.28 or above.

Impact 6.5 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-772: Missing Release of Resource after Effective Lifetime

Source file

pypi/pglast/CVE-2018-18482.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.