September 26, 2024: PostgreSQL 17 Released!

CVE-2006-2314

The widely-used practice of escaping ASCII single quote "'" by turning it into "\'" is unsafe when operating in multibyte encodings that allow 0x5c (ASCII code for backslash) as the trailing byte of a multibyte character.

Version Information

Affected Version Fixed In
8.1 8.1.4
8.0 8.0.8
7.4 7.4.13
7.3 7.3.15

For more information about PostgreSQL versioning, please visit the versioning page.

Reporting Security Vulnerabilities

If you wish to report a new security vulnerability in PostgreSQL, please send an email to security@postgresql.org.

For reporting non-security bugs, please see the Report a Bug page.