Buffer Access with Incorrect Length Value Affecting postgresql18-docs package, versions <0:18.4-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.21% (11th 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-POSTGRESQL18DOCS-17290966
  • published10 Jun 2026
  • disclosed14 May 2026

Introduced: 14 May 2026

CVE-2026-6575  (opens in a new tab)
CWE-805  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 postgresql18-docs to version 0:18.4-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1780.

NVD Description

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

Buffer over-read in PostgreSQL function pg_restore_attribute_stats() accepts array values of unmatched length, which causes query planning to read past end of one array. This allows a table maintainer to infer memory values past that array end. Within major version 18, minor versions before PostgreSQL 18.4 are affected. Versions before PostgreSQL 18 are unaffected.

CVSS Base Scores

version 3.1