JLSEC-2026-1575: High severity julia/libpq_jll vulnerability
Integer wraparound in PostgreSQL tsvector and tsquery data type functions allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds, via crafted large inputs. This may execute arbitrary code as the operating system user running the database. These types are typically sourced from application logic, not taken from the application's user. Hence, application users attacking the database, through the application as a conduit, are unlikely. CVE-2026-6473 had fixed similar problems. 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
PostgreSQLto a version that resolves this vulnerability.Fixed in 18.6 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 17.11 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 16.15 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 15.19 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 14.24
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
PostgreSQL servers that allow an unprivileged database user to invoke tsvector or tsquery functions with crafted large inputs are exposed. Application users are unlikely to exploit it through an application, because these data types are typically generated by application logic rather than accepted directly from users.
What access does an attacker need?
An attacker needs unprivileged database-user access and the ability to submit crafted large inputs to the affected tsvector or tsquery data type functions. No user interaction is required.
Which PostgreSQL versions need remediation?
Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected. Upgrade to the applicable listed release or a later release.
What is the potential impact if exploitation succeeds?
The integer wraparound can cause an undersized allocation followed by an out-of-bounds write. This may allow arbitrary code execution as the operating system user running the PostgreSQL server.