Inclusion of Functionality from Untrusted Control Sphere Affecting postgresql15-server package, versions <0:15.19-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.36% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-POSTGRESQL15SERVER-19471057
  • published1 Sept 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

NewCVE-2026-6464  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 postgresql15-server to version 0:15.19-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-2077.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15-server package and not the postgresql15-server package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1