pgcrypto crypt() can return text with invalid encoding

Edit
ID 7417
Title pgcrypto crypt() can return text with invalid encoding
CI (CFBot) Summary
Stats (from CFBot) Patch count: 1, First patch: +25−1, All patches: +25−1
Tags Bugfix
Created 2026-10-08 11:43:10
Last modified 2026-10-08 11:43:10 (1 hour ago)
Latest email 2026-08-03 15:26:07 (2 months ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version
Authors Andrey Rachitskiy (a.rachitskiy)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19600: pgcrypto crypt() can return text with invalid encoding
First at 2026-08-03 05:25:56 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-08-03 15:26:07 by Andrey Rachitskiy <pl0h0yp1 at gmail.com>
Latest attachment (0001-pgcrypto-Reject-crypt-results-invalid-in-database-encoding-BUG-19600.patch) at 2026-08-03 15:26:07 from Andrey Rachitskiy <pl0h0yp1 at gmail.com>
    Attachment (0001-pgcrypto-Reject-crypt-results-invalid-in-database-encoding-BUG-19600.patch) at 2026-08-03 15:26:07 from Andrey Rachitskiy <pl0h0yp1 at gmail.com> (Patch: No)
History
When Who What
2026-10-08 11:43:10 Andrey Rachitskiy (a.rachitskiy) Attached mail thread 19600-e5fb479f50f5022d@postgresql.org
2026-10-08 11:43:10 Andrey Rachitskiy (a.rachitskiy) Created patch record
Edit