JLSEC-2026-1576: Medium severity julia/libpq_jll vulnerability
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 pgpsymencrypt, pgpsymdecrypt, pgppubencrypt, pgppubdecrypt, pgpsymencryptbytea, pgpsymdecryptbytea, pgppubencryptbytea, and pgppubdecryptbytea. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 15.19 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 14.24
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using pgcrypto's affected PGP encryption or decryption functions with ciphers disabled by their OpenSSL version or OpenSSL configuration are exposed. The specific disabled ciphers depend on the installed OpenSSL version and configuration.
What does an attacker need to exploit this issue?
An attacker needs direct observation of faulty ciphertext to recover cleartext. Where an application accepts encrypted data as input, decryption can also succeed with the wrong key, removing the protection normally provided by the Modification Detection Code (MDC).
Which pgcrypto functions should be reviewed?
Review uses of 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.
Which PostgreSQL versions contain the fix?
The issue is fixed in PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24. Earlier versions in those release lines are affected.