debian/patches/CVE-2026-6473.patch: integer wraparound in tsheadline
and ltree lquery parsing; bound StartSel/StopSel/FragmentDelimiter to
PGINT16MAX and add overflow checks in parselquery (no
pgaddu16overflow() in PG 12, manual PGUINT16MAX compare).
debian/patches/CVE-2026-6474.patch: externally-controlled format
string in timeofday() via pgstrftime() with crafted timezones; guard
against unsafe conditions.
debian/patches/CVE-2026-6475.patch: symlink following in
pgbasebackup plain format and in pgrewind allowing origin
superuser to overwrite local files.
debian/patches/CVE-2026-6477.patch: mark PQfn() unsafe and fix
overrun in libpq loexport/loread/lolseek64/lotell64 frontend
LO interface.
debian/patches/CVE-2026-6478.patch: covert timing channel in MD5
password comparison; replace memcmp with timingsafe_bcmp in SCRAM
and MD5 password verification paths.
debian/patches/CVE-2026-6479.patch: uncontrolled recursion in
ProcessStartupPacket() via alternating SSL/GSS negotiation requests.
debian/patches/CVE-2026-6637.patch: stack buffer overflow in the
refint contrib module with attacker-controlled column names.