PYSEC-2026-895
Dashboard / Vulnerabilities / PYSEC-2026-895
PYSEC-2026-895
Published: 6 Jul 2026Last Modified: 7 Jul 2026
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2018-18482, https://github.com/lfittl/libpg_query/issues/49, https://github.com/lelit/pglast, https://github.com/pypa/advisory-database/tree/main/vulns/pg-query/PYSEC-2018-154.yaml, https://pypi.org/project/pglast, https://github.com/advisories/GHSA-vm3q-58wm-2r2x
Affected packages
Package
Name: pglast
Purl: pkg:pypi/pglast
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -0.28
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
