Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pg-query
  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. Learn more about Dependency Scanning →

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/pg-query/CVE-2018-18482.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:59 +0000.