Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-18482
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:56 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-18482
Complete source record
{
"id": "37194e9155a74e2064af772078c16560b3bb7ee967e4cdc362b6d02e0fbd428b",
"url": "https://osv.dev/vulnerability/CVE-2018-18482",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-18482",
"summary": "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.",
"evidence": "osv:CVE-2018-18482",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-18482",
"aliases": [
"CVE-2018-18482",
"GHSA-vm3q-58wm-2r2x",
"PYSEC-2018-154",
"PYSEC-2026-895"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pganalyze/libpg_query",
"type": "GIT",
"events": [
{
"introduced": "d710cb0f3edf4a0f98dde5b4411ea103fd4b1807"
},
{
"last_affected": "d710cb0f3edf4a0f98dde5b4411ea103fd4b1807"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libpg_query_project:libpg_query:10-1.0.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10-1.0.2"
},
{
"last_affected": "10-1.0.2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"10-1.0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18482.json"
}
}
],
"modified": "2026-10-20T10:48:50.726905994Z",
"provider": "osv",
"references": [
"https://github.com/lfittl/libpg_query/issues/49"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-18482",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380382,
"published_at": "2018-10-18T18:29:01.077+00:00"
}