An issue was discovered in libpgquery 10-1.0.2. There is a memory leak in pgqueryrawparse in pgqueryparse.c, which might lead to a denial of service.
"https://github.com/pypa/advisory-database/blob/main/vulns/pg-query/PYSEC-2018-154.yaml"