{"id":"CVE-2026-14663","state":"PUBLISHED","title":"PostgreSQL pgcrypto, for OpenSSL-disabled ciphers, silently encrypts to and decrypts from cleartext","description":"Cleartext storage in PostgreSQL pgcrypto disabled ciphers allows a user to recover cleartext, via direct observation of the faulty ciphertext.  The OpenSSL version and OpenSSL configuration determine the disabled ciphers.  If the application accepts encrypted data as input, decryption will succeed even with the wrong key.  This in turn loses the modest protection from the Modification Detection Code (MDC).  Affected functions are pgp_sym_encrypt, pgp_sym_decrypt, pgp_pub_encrypt, pgp_pub_decrypt, pgp_sym_encrypt_bytea, pgp_sym_decrypt_bytea, pgp_pub_encrypt_bytea, and pgp_pub_decrypt_bytea.  Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.","publishedAt":"2026-08-13T13:00:02.383Z","updatedAt":"2026-08-29T23:07:11.574Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"PostgreSQL"},"assigner":"PostgreSQL","products":["n/a PostgreSQL"],"affected":[{"vendor":"n/a","product":"PostgreSQL","defaultStatus":"unaffected","versions":[{"version":"18","status":"affected","lessThan":"18.6","versionType":"rpm"},{"version":"17","status":"affected","lessThan":"17.11","versionType":"rpm"},{"version":"16","status":"affected","lessThan":"16.15","versionType":"rpm"},{"version":"15","status":"affected","lessThan":"15.19","versionType":"rpm"},{"version":"0","status":"affected","lessThan":"14.24","versionType":"rpm"}]}],"references":["https://www.postgresql.org/support/security/CVE-2026-14663/"],"weaknesses":["CWE-313","CWE-345"],"ingestedAt":"2026-10-29T20:11:00.674Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/14xxx/CVE-2026-14663.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-14663","state":"PUBLISHED","datePublished":"2026-08-13T13:00:02.383Z","dateUpdated":"2026-08-29T23:07:11.574Z","assignerShortName":"PostgreSQL","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateReserved":"2026-07-03T20:28:08.416Z"},"containers":{"cna":{"title":"PostgreSQL pgcrypto, for OpenSSL-disabled ciphers, silently encrypts to and decrypts from cleartext","descriptions":[{"lang":"en","value":"Cleartext storage in PostgreSQL pgcrypto disabled ciphers allows a user to recover cleartext, via direct observation of the faulty ciphertext.  The OpenSSL version and OpenSSL configuration determine the disabled ciphers.  If the application accepts encrypted data as input, decryption will succeed even with the wrong key.  This in turn loses the modest protection from the Modification Detection Code (MDC).  Affected functions are pgp_sym_encrypt, pgp_sym_decrypt, pgp_pub_encrypt, pgp_pub_decrypt, pgp_sym_encrypt_bytea, pgp_sym_decrypt_bytea, pgp_pub_encrypt_bytea, and pgp_pub_decrypt_bytea.  Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected."}],"affected":[{"vendor":"n/a","product":"PostgreSQL","defaultStatus":"unaffected","versions":[{"version":"18","status":"affected","lessThan":"18.6","versionType":"rpm"},{"version":"17","status":"affected","lessThan":"17.11","versionType":"rpm"},{"version":"16","status":"affected","lessThan":"16.15","versionType":"rpm"},{"version":"15","status":"affected","lessThan":"15.19","versionType":"rpm"},{"version":"0","status":"affected","lessThan":"14.24","versionType":"rpm"}]}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-14663/"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-313","lang":"en","type":"CWE","description":"Cleartext Storage in a File or on Disk"},{"cweId":"CWE-345","lang":"en","type":"CWE","description":"Insufficient Verification of Data Authenticity"}]}],"providerMetadata":{"shortName":"PostgreSQL","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateUpdated":"2026-08-29T23:07:11.574Z"},"x_postgresql":{"component":"contrib module"},"configurations":[{"lang":"en","value":"A data owner is managing encrypted data with the pgcrypto extension."}],"workarounds":[{"lang":"en","value":"Use FIPS-compliant ciphers or other OpenSSL-enabled ciphers"}],"credits":[{"lang":"en","value":"The PostgreSQL project thanks Shishir Sharma for reporting this problem."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-13T14:55:07.618118Z","id":"CVE-2026-14663","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-13T15:34:25.917Z"}}]}}}