[CLSA-2026:1794321718] Fix CVE(s): CVE-2025-12818, CVE-2026-6464
Type:
security
Severity:
Important
Release date:
2026-11-10 14:42:11 UTC
Description:
* SECURITY UPDATE: integer overflows in libpq size calculations. Several libpq functions computed buffer sizes in int, so very large inputs (an oversized string given to PQescapeLiteral, PQescapeIdentifier or PQescapeBytea, an LDAP service lookup answer, a result printed by PQprint, an overlong startup packet) could wrap the size, allocate a buffer that is too small and write past it. - debian/patches/CVE-2025-12818.patch: compute the sizes in size_t and refuse inputs whose escaped or concatenated size would overflow (upstream d6f0c0d6d6). - CVE-2025-12818 * SECURITY UPDATE: psql runs COPY FROM STDIN data as commands when the COPY fails. When a COPY ... FROM STDIN or \copy ... from stdin in a script failed before the server started reading the data (missing table, permission denied, bad column list, ...), psql went on to execute the in-line data rows as SQL and backslash commands, so a data line such as "\! command" ran a shell command. psql also accepted a COPY-in request the server sent on its own and fed it the rest of the script. - debian/patches/CVE-2026-6464.patch: count the COPY ... FROM STDIN commands of each query string, also across \if branches and in -c, \g and \gexec strings, skip the in-line data up to "\." when the COPY did not reach the data phase, and abort on an unexpected COPY-in result (upstream 7215c7e964, 5c51ae4556, f1204c1a79). - BEHAVIOUR CHANGE: in-line data after a COPY ... FROM STDIN or \copy ... from stdin that fails is now skipped up to "\." instead of being run as SQL and backslash commands, so such data must be terminated by "\.", as the data of a successful COPY always had to be; a script that relied on the old behaviour and omitted "\." after a failing COPY now loses the rest of the file up to the next "\." (or its end). Input typed at a terminal is never discarded. - CVE-2026-6464
Updated packages:
  • libecpg-compat3_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:e9d4a47f43f2b3408f5308de682d01094956a295
  • libecpg-dev_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:94416452de6339644254082ed015e47f1396a6fc
  • libecpg6_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:8a9ddc9ec1b7717fe5334735a19cf90364faf587
  • libpgtypes3_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:f3e8eb976c8d6a14b24a1b2db2b65af74d93c7e7
  • libpq-dev_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:e32d24a57aa34c04f6c60987646af662cd4df82e
  • libpq5_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:37a9685ec1ffd01147938b5f4f0f43ea35311843
  • postgresql-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:42220827feb934001feda2f0266274956696a913
  • postgresql-client-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:10df0d73afa92e52ca00550af240a50e87124dd0
  • postgresql-doc-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_all.deb
    sha:670f478a2372198dd29d350225d4b9e8414313ab
  • postgresql-plperl-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:b06f92b54ae7389c8779626e3d7165fe9fcfda43
  • postgresql-plpython-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:e2406b40886d58082b61e2d09bc9c174611a7fb6
  • postgresql-plpython3-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:a19d2897390bd0a092cf4262af37f62841af25cb
  • postgresql-pltcl-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:a27cc492f66f84d7d7b07194f55abcc49d4640b3
  • postgresql-server-dev-10_10.23-0ubuntu0.18.04.2+tuxcare.els15_amd64.deb
    sha:1a11f9d7460775734fccc0bb133c7b7ca0b03f71
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.