{"api_version":"1","generated_at":"2026-10-01T23:19:07+00:00","cve":"CVE-2026-18022","urls":{"html":"https://cve.report/CVE-2026-18022","api":"https://cve.report/api/cve/CVE-2026-18022.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-18022","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-18022"},"summary":{"title":"pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems","description":"Integer wraparound in IVFFlat index build in pgvector before 0.8.6 allows a database user to write data out-of-bounds, which could lead to arbitrary code execution. Only 32-bit systems are affected.","state":"PUBLISHED","assigner":"PostgreSQL","published_at":"2026-07-29 20:17:02","updated_at":"2026-08-20 13:15:02"},"problem_types":["CWE-190","CWE-787","CWE-190 Integer Overflow or Wraparound","CWE-787 Out-of-bounds Write"],"metrics":[{"version":"3.1","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/pgvector/pgvector/issues/1006","name":"https://github.com/pgvector/pgvector/issues/1006","refsource":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":["Issue Tracking","Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104","name":"https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104","refsource":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-18022","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18022","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"pgvector","version":"affected 0.8.6 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Thanks to 0xJi3F for reporting this.","lang":"en"}],"nvd_cpes":[{"cve_year":"2026","cve_id":"18022","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"pgvector_project","cpe5":"pgvector","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"postgresql","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"18022","cve":"CVE-2026-18022","epss":"0.003340000","percentile":"0.264270000","score_date":"2026-08-23","updated_at":"2026-08-24 00:11:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-18022","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-07-30T00:00:00+00:00","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-31T03:56:13.731Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"pgvector","vendor":"n/a","versions":[{"lessThan":"0.8.6","status":"affected","version":"0","versionType":"semver"}]}],"configurations":[{"lang":"en","value":"attacker has permission to create an IVFFlat index on a 32-bit system"}],"credits":[{"lang":"en","value":"Thanks to 0xJi3F for reporting this."}],"descriptions":[{"lang":"en","value":"Integer wraparound in IVFFlat index build in pgvector before 0.8.6 allows a database user to write data out-of-bounds, which could lead to arbitrary code execution. Only 32-bit systems are affected."}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"Integer Overflow or Wraparound","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","description":"Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-29T18:55:54.658Z","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","shortName":"PostgreSQL"},"references":[{"url":"https://github.com/pgvector/pgvector/issues/1006"},{"url":"https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104"}],"title":"pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems"}},"cveMetadata":{"assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","assignerShortName":"PostgreSQL","cveId":"CVE-2026-18022","datePublished":"2026-07-29T18:55:54.658Z","dateReserved":"2026-07-28T00:20:11.430Z","dateUpdated":"2026-07-31T03:56:13.731Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-29 20:17:02","lastModifiedDate":"2026-08-20 13:15:02","problem_types":["CWE-190","CWE-787","CWE-190 Integer Overflow or Wraparound","CWE-787 Out-of-bounds Write"],"metrics":{"cvssMetricV31":[{"source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-30T00:00:00+00:00","id":"CVE-2026-18022","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pgvector_project:pgvector:*:*:*:*:*:postgresql:*:*","versionEndExcluding":"0.8.6","matchCriteriaId":"17810A1F-9FFA-4719-BDB5-8C5D377AF598"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"18022","Ordinal":"1","Title":"pgvector buffer overflow via integer wraparound in IVFFlat index","CVE":"CVE-2026-18022","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"18022","Ordinal":"1","NoteData":"Integer wraparound in IVFFlat index build in pgvector before 0.8.6 allows a database user to write data out-of-bounds, which could lead to arbitrary code execution. Only 32-bit systems are affected.","Type":"Description","Title":"pgvector buffer overflow via integer wraparound in IVFFlat index"}]}}}