CVE-2026-18022

Source
https://cve.org/CVERecord?id=CVE-2026-18022
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18022.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-18022
Downstream
Published
2026-07-29T18:55:54Z
Modified
2026-11-05T03:31:26Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
pgvector buffer overflow via integer wraparound in IVFFlat index build on 32-bit systems
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.

Database specific
{
    "cna_assigner": "PostgreSQL",
    "cwe_ids": [
        "CWE-190",
        "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/18xxx/CVE-2026-18022.json"
}
References

Affected packages

Git / github.com/pgvector/pgvector

Affected ranges

Type
GIT
Repo
https://github.com/pgvector/pgvector
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:pgvector_project:pgvector:*:*:*:*:*:postgresql:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.8.6"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "636a92a3395d2e036ffd40d07aeb400a708ae104"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.2.0
v0.2.1
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.5.0
v0.5.1
v0.6.0
v0.6.1
v0.6.2
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.7.4
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.8.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-18022.json"