[CLSA-2026:1786729180] Fix CVE(s): CVE-2026-2003, CVE-2026-2004, CVE-2026-2005, CVE-2026-2006
Type:
security
Severity:
Important
Release date:
2026-08-14 17:39:53 UTC
Description:
* SECURITY UPDATE: out-of-bounds reads and backend crashes via oidvector and int2vector values with unexpected array dimensions, reachable because a general oid[] or int2[] array can be cast to the vector type - debian/patches/CVE-2026-2003.patch: add check_valid_oidvector() and check_valid_int2vector() validators that reject arrays whose ndim, dataoffset or elemtype violate the vector type's restrictions, and call them before reading dim1 in the hashing, btree comparison, input and format_type paths in src/backend/access/hash/hashfunc.c, src/backend/access/nbtree/nbtcompare.c, src/backend/utils/adt/format_type.c, src/backend/utils/adt/int.c, src/backend/utils/adt/oid.c and src/include/utils/builtins.h - CVE-2026-2003 * SECURITY UPDATE: a non-superuser can install an arbitrary function as an operator's restriction or join selectivity estimator, and built-in estimators can be attached to an operator of the wrong type - debian/patches/CVE-2026-2004.patch: require superuser to specify a non-built-in restriction or join selectivity estimator in CREATE OPERATOR while requiring only EXECUTE rights for built-in ones, add get_function_sibling_type() and harden the intarray, tsearch and network selectivity estimators against being attached to the wrong operator, and backport the upstream pg_extension.oid syscache (EXTENSIONOID) that PostgreSQL 11 lacks, in contrib/intarray/_int_selfuncs.c, src/backend/commands/operatorcmds.c, src/backend/commands/extension.c, src/backend/catalog/pg_depend.c, src/backend/tsearch/ts_selfuncs.c, src/backend/utils/adt/network_selfuncs.c, src/backend/utils/cache/syscache.c and their headers - CVE-2026-2004 * SECURITY UPDATE: buffer overflow in pgp_pub_decrypt_bytea() in pgcrypto when the PGP session key is longer than the destination buffer - debian/patches/CVE-2026-2005.patch: bound the session key length against PGP_MAX_KEY before storing it in the decryption context and report the new PXE_PGP_KEY_TOO_BIG error instead of overrunning the buffer, in contrib/pgcrypto/pgp-pubdec.c, contrib/pgcrypto/px.c and contrib/pgcrypto/px.h - CVE-2026-2005 * SECURITY UPDATE: out-of-bounds reads when measuring truncated or invalid multibyte characters, an understated maximum character length for EUC_CN, and missing encoding validation of PGP-decrypted text - debian/patches/CVE-2026-2006.patch: replace the unbounded pg_mblen() with the bounds-checked pg_mblen_with_len(), pg_mblen_range() and pg_mblen_unbounded() variants throughout the backend, tsearch, ltree, pg_trgm, btree_gist, unaccent and dict_xsyn code, make the mb2wchar conversion functions tolerate short input, raise the EUC_CN maximum character length from 2 to 3 so SS2 and SS3 sequences are measured correctly in src/backend/utils/mb/wchar.c, and require PGP-decrypted text to pass pg_verifymbstr() encoding validation in contrib/pgcrypto/pgp-pgsql.c - CVE-2026-2006
Updated packages:
  • libecpg-compat3-11_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:e3fcb344301d7a6e718dd922f1dc995ee26d2137
  • libecpg-dev-11_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:0bf6308f14cc146521fe5dc71b3fcc9cd3fcbd1d
  • libecpg6-11_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:e44203138390f273b0503452dba1d2403f7f478d
  • libpgtypes3-11_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:5c80341555d16cf508bcbd7d255e0ba54b023331
  • libpq-dev-11_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:e88591453a15b750aefa33dbdc49a6bb03cacf50
  • libpq5-11_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:4d333fbae9ac8ffb1b991479df1cfd60c9ff2ba9
  • postgresql11_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:a054c3df8eea1d3c6037b9fca88d33590af41bd2
  • postgresql11-client_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:5d5d32131155468a7b4d0d8caf157ce0ab4a388a
  • postgresql11-doc_11.22-1~bookworm+tuxcare.els13_all.deb
    sha:9499d84cb67568c4397f4523ad5089e3a45522b7
  • postgresql11-plperl_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:67553879e7eef92351881eb1ead918c80cad0a73
  • postgresql11-plpython3_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:d3ff34a8ad000665c00b946c5978260bb657dabb
  • postgresql11-pltcl_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:644b2e9f4afc817fd396549d0b53c92e15046fe7
  • postgresql11-server-dev_11.22-1~bookworm+tuxcare.els13_amd64.deb
    sha:09e493f7b6e1f9c5ba8dc66e24774aea8d18bd0c
  • libecpg-compat3-11_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:254d85e055da93314174099b75d86b38c4dbecf1
  • libecpg-dev-11_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:f1c4feec63de239ee8f42c73919fd34c0ae9a8da
  • libecpg6-11_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:75a4eb58cefdcc4160703f337a950c8e6135f519
  • libpgtypes3-11_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:1c6986d9ca71aa77b4d9e98ea5cd835ba08dde80
  • libpq-dev-11_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:150a9cd727682d680a5802471fe240436045e8c7
  • libpq5-11_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:1994bbd811a05ed3b3c96b89a2f1c417f7474def
  • postgresql11_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:e4b0f2f4b6312ef47b75fd96a5dbfbfffcd6fcce
  • postgresql11-client_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:6a3e48c72f98ce1b0b26006625617ca49eaf60a2
  • postgresql11-doc_11.22-1~bookworm+tuxcare.els13_all.deb
    sha:9499d84cb67568c4397f4523ad5089e3a45522b7
  • postgresql11-plperl_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:d45f0138c3a743990e03efcbc46d4e31f641df18
  • postgresql11-plpython3_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:9100281e45d1424cd2a8beff1fae887571d4fea9
  • postgresql11-pltcl_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:1621bc7864147ef57eeb1547f30e041faf6baf8e
  • postgresql11-server-dev_11.22-1~bookworm+tuxcare.els13_arm64.deb
    sha:b37b07799dd5c44eb6df0b37ab204850c8a8c3a7
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.