#1143128 pgvector: CVE-2026-18022

Package:
src:pgvector
Source:
src:pgvector
Submitter:
Salvatore Bonaccorso
Date:
2026-07-30 19:37:01 UTC
Severity:
normal
Tags:
#1143128#5
Date:
2026-07-30 19:07:47 UTC
From:
To:
Hi,

The following vulnerability was published for pgvector.

CVE-2026-18022[0]:
| 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.

Despite the severity I guess for trixie it is enough to make a fix
only via an upcomping point release as it only affects 32bit systems.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-18022
https://www.cve.org/CVERecord?id=CVE-2026-18022
[1] https://github.com/pgvector/pgvector/issues/1006
[2] https://github.com/pgvector/pgvector/commit/636a92a3395d2e036ffd40d07aeb400a708ae104

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

#1143128#10
Date:
2026-07-30 19:27:55 UTC
From:
To:
Re: Salvatore Bonaccorso

thanks for the report!

We stopped building 32-bit package for PostgreSQL extensions some time
ago because upstreams are increasingly unwilling/unable to fix
problems, and the time spend debugging wasn't worth the estimated
non-existing 32-bit user base.

So: We are not affected.

$ rmadison postgresql-{10..19}-pgvector
postgresql-17-pgvector | 0.8.0-1       | stable     | amd64, arm64, ppc64el, riscv64, s390x
postgresql-18-pgvector | 0.8.5-1       | testing    | amd64, arm64, loong64, ppc64el, riscv64, s390x
postgresql-18-pgvector | 0.8.5-1       | unstable   | amd64, arm64, loong64, ppc64el, riscv64, s390x

Christoph