{
  "threat_severity" : "Important",
  "public_date" : "2026-07-29T18:55:54Z",
  "bugzilla" : {
    "description" : "pgvector: pgvector: Arbitrary Code Execution via Integer Wraparound",
    "id" : "2508603",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2508603"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-787",
  "details" : [ "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.", "A flaw was found in pgvector. An integer wraparound vulnerability exists during the IVFFlat index build process. This flaw allows a database user on a 32-bit system to write data outside of allocated memory buffers. Successful exploitation could lead to arbitrary code execution." ],
  "statement" : "Only 32-bit systems are affected. Affected products support 64-bit systems only.",
  "package_state" : [ {
    "product_name" : "Lightspeed Core",
    "fix_state" : "Not affected",
    "package_name" : "lightspeed-core/rag-tool-cpu-rhel9",
    "cpe" : "cpe:/a:redhat:lightspeed_core"
  }, {
    "product_name" : "Lightspeed Core",
    "fix_state" : "Not affected",
    "package_name" : "lightspeed-core/rag-tool-cuda-12.9-rhel9",
    "cpe" : "cpe:/a:redhat:lightspeed_core"
  }, {
    "product_name" : "OpenShift Lightspeed",
    "fix_state" : "Not affected",
    "package_name" : "openshift-lightspeed/lightspeed-ocp-rag-rhel9",
    "cpe" : "cpe:/a:redhat:openshift_lightspeed"
  }, {
    "product_name" : "Red Hat Ansible Automation Platform 2",
    "fix_state" : "Not affected",
    "package_name" : "ansible-automation-platform-25/lightspeed-chatbot-rhel8",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "postgresql:16/pgvector",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "postgresql:18/pgvector",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Trusted Profile Analyzer",
    "fix_state" : "Not affected",
    "package_name" : "rhtpa/rhtpa-trustification-service-rhel9",
    "cpe" : "cpe:/a:redhat:trusted_profile_analyzer:2"
  }, {
    "product_name" : "Red Hat Trusted Profile Analyzer",
    "fix_state" : "Not affected",
    "package_name" : "rhtpa/rhtpa-rhel10",
    "cpe" : "cpe:/a:redhat:trusted_profile_analyzer:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-18022\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-18022\nhttps://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104\nhttps://github.com/pgvector/pgvector/issues/1006" ],
  "name" : "CVE-2026-18022",
  "csaw" : false
}