CLSA-2026-1794321718

See a problem?
Import Source
https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json
JSON Data
https://api.osv.dev/v1/vulns/CLSA-2026-1794321718
Upstream
CVE (2)
  • CVE-2025-12818
  • CVE-2026-6464
Published
2026-11-10T14:42:11Z
Modified
2026-11-20T10:17:21Z
Summary
Fix CVE(s): CVE-2025-12818, CVE-2026-6464
Details
  • 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
References

Affected packages

TuxCare:Ubuntu:18.04
libecpg-compat3

Package

Name
libecpg-compat3
Purl
pkg:deb/tuxcare/libecpg-compat3?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
libecpg-dev

Package

Name
libecpg-dev
Purl
pkg:deb/tuxcare/libecpg-dev?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
libecpg6

Package

Name
libecpg6
Purl
pkg:deb/tuxcare/libecpg6?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
libpgtypes3

Package

Name
libpgtypes3
Purl
pkg:deb/tuxcare/libpgtypes3?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
libpq-dev

Package

Name
libpq-dev
Purl
pkg:deb/tuxcare/libpq-dev?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
libpq5

Package

Name
libpq5
Purl
pkg:deb/tuxcare/libpq5?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-10

Package

Name
postgresql-10
Purl
pkg:deb/tuxcare/postgresql-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-client-10

Package

Name
postgresql-client-10
Purl
pkg:deb/tuxcare/postgresql-client-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-doc-10

Package

Name
postgresql-doc-10
Purl
pkg:deb/tuxcare/postgresql-doc-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-plperl-10

Package

Name
postgresql-plperl-10
Purl
pkg:deb/tuxcare/postgresql-plperl-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-plpython-10

Package

Name
postgresql-plpython-10
Purl
pkg:deb/tuxcare/postgresql-plpython-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-plpython3-10

Package

Name
postgresql-plpython3-10
Purl
pkg:deb/tuxcare/postgresql-plpython3-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-pltcl-10

Package

Name
postgresql-pltcl-10
Purl
pkg:deb/tuxcare/postgresql-pltcl-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"
postgresql-server-dev-10

Package

Name
postgresql-server-dev-10
Purl
pkg:deb/tuxcare/postgresql-server-dev-10?distro=ubuntu-18.04

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.23-0ubuntu0.18.04.2+tuxcare.els15

Database specific

source
"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/ubuntu18.04els/CLSA-2026-1794321718.json"