BSD Ports

PostgreSQL -- Multiple vulnerabilities

· CVE-2025-12818, CVE-2025-12817 · VuXML entry

https://www.postgresql.org/support/security/CVE-2025-12818/ reports: Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network peer to cause libpq to undersize an allocation and write out-of-bounds by hundreds of megabytes. This results in a segmentation fault for the application using libpq. Missing authorization in PostgreSQL CREATE STATISTICS command …

Affected versions

By system

6 still vulnerable, 5 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlydatabases/postgresql13-client13.21 vulnerable since 2025-11-14
FreeBSDdatabases/postgresql14-client14.24 fixed
NetBSDdatabases/postgresql14-client14.24 not listed
MidnightBSDdatabases/postgresql14-client in range, by version
DragonFlydatabases/postgresql14-client14.18 vulnerable since 2025-11-14
FreeBSDdatabases/postgresql15-client15.19 fixed
NetBSDdatabases/postgresql15-client15.19 not listed
MidnightBSDdatabases/postgresql15-client in range, by version
DragonFlydatabases/postgresql15-client15.13 vulnerable since 2025-11-14
FreeBSDdatabases/postgresql16-client16.15 fixed
NetBSDdatabases/postgresql16-client16.15 not listed
MidnightBSDdatabases/postgresql16-client in range, by version
DragonFlydatabases/postgresql16-client16.9 vulnerable since 2025-11-14
FreeBSDdatabases/postgresql17-client17.11 fixed
NetBSDdatabases/postgresql17-client17.11 not listed
MidnightBSDdatabases/postgresql17-client in range, by version
DragonFlydatabases/postgresql17-client17.5 vulnerable since 2025-11-14
FreeBSDdatabases/postgresql18-client18.6 fixed
NetBSDdatabases/postgresql18-client18.6 not listed
MidnightBSDdatabases/postgresql18-client in range, by version
DragonFlydatabases/postgresql18-client18.b1 vulnerable since 2025-11-14