JLSEC-2026-1588: High severity julia/libpq_jll vulnerability
Integer wraparound in PostgreSQL fuzzystrmatch allows a user to direct writes to a huge range of addresses, executing arbitrary code as the operating system user running the database, via extreme inputs to SQL function levenshtein() or levenshteinlessequal(). 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
What level of access does an attacker need to exploit this?
The attacker needs privileges to execute SQL and call the fuzzystrmatch levenshtein() or levenshtein_less_equal() functions. No user interaction is required, and exploitation can be performed over the network.
What is the impact if exploitation succeeds?
An attacker can direct writes across a huge address range and execute arbitrary code as the operating system user running the PostgreSQL database. This can compromise confidentiality, integrity, and availability of the database host.
Which PostgreSQL releases need to be updated?
Affected releases are PostgreSQL versions earlier than 18.6, 17.11, 16.15, 15.19, and 14.24. Update to the applicable listed release or a later version.