Advisory

DEBIAN-CVE-2026-6464

Also known as: CVE-2026-6464

Summary

The record has no summary.

Details

Untrusted data inclusion in PostgreSQL psql COPY may allow a server administrator to elicit execution of data lines as psql commands, via error injection. If the "COPY FROM STDIN" or "\copy FROM STDIN" command fails before the server indicates that it awaits input rows, psql processes the in-line data rows as psql commands. "COPY FROM" with a filename is unaffected. The server administrator has no inherent control over the data rows, so a complete attack requires the attacker to separately acquire control of both the server and the data rows. Alternatively, an attacker controlling data rows alone might complete an attack through a coincidental error that they don't control. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-08-13 13:19 UTC
Modified
2026-10-01 03:03 UTC

Affected packages and fixes

postgresql-15

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 15.19-0+deb12u1 (ecosystem)

Fixed versions

15.19-0+deb12u1

Fix

  • Fixed version 15.19-0+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-17

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 17.11-0+deb13u1 (ecosystem)

Fixed versions

17.11-0+deb13u1

Fix

  • Fixed version 17.11-0+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-18

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 18.6-1 (ecosystem)

Fixed versions

18.6-1

Fix

  • Fixed version 18.6-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences