Skip to content
VulniPulse
High8.8Red Hat Linux

CVE-2026-116317: Red Hat Arbitrary code execution via heap-based buffer overflow in ts_rank_cd

This Red Hat advisory covers CVE-2026-116317. Related products: Red Hat Hardened Images.

Open the Red Hat advisory

Key facts

Vendor rating
High, CVSS 8.8
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · base score 8.8, scored by PostgreSQLAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-122 Heap-based Buffer Overflow
EPSS
0.60% chance of exploitation in the next 30 days (49th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Fixed in
postgresql18-main-18.7-0.1.hum1, libpq-main-18.7-0.1.hum1, postgresql17-main-17.12-0.1.hum1 and 1 more below
Source published
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Related products & platforms

Red Hat LinuxUnclassified

Description

Arbitrary code execution via heap-based buffer overflow in ts_rank_cd(). Red Hat rates this important (CVSS 8.8).

Weakness: CWE-787. Red Hat lists fixing advisory RHSA-2026:100114 with package postgresql18-main-18.7-0.1.hum1, libpq-main-18.7-0.1.hum1, postgresql17-main-17.12-0.1.hum1.

Affected product named by the advisory: Red Hat Hardened Images.

Text from the source record.

How to fix CVE-2026-116317

Upgrade to a fixed release named by Red Hat:

  • postgresql18-main-18.7-0.1.hum1
  • libpq-main-18.7-0.1.hum1
  • postgresql17-main-17.12-0.1.hum1
  • RHSA-2026:100114

Vendor guidance

  • Restrict network access to the PostgreSQL service to trusted hosts and revoke execute permissions on the vulnerable ranking functions from untrusted database users: 1. Limit incoming network connections to trusted management hosts using firewalld: # firewall-cmd --permanent --remove-service=postgresql # firewall-cmd --permanent --zone=trusted --add-source=<trusted_ip_or_network> # firewall-cmd --reload 2. Revoke execute permissions on ts_rank_cd functions from the PUBLIC role in affected databases: REVOKE EXECUTE ON FUNCTION pg_catalog.ts_rank_cd(tsvector, tsquery) FROM PUBLIC; REVOKE EXECUTE ON FUNCTION pg_catalog.ts_rank_cd(tsvector, tsquery, integer) FROM PUBLIC; REVOKE EXECUTE ON FUNCTION pg_catalog.ts_rank_cd(float4[], tsvector, tsquery) FROM PUBLIC; REVOKE EXECUTE ON FUNCTION pg_catalog.ts_rank_cd(float4[], tsvector, tsquery, integer) FROM PUBLIC; Caveats: Revoking permissions on ts_rank_cd causes applications utilizing text search ranking via Cover Density to fail with permission denied errors. Applying firewall restrictions blocks external connections not originating from explicitly authorized sources. Warning: Reloading firewall configurations via firewall-cmd may interrupt active client network connections. If modifying pg_hba.conf to enforce access restrictions, reloading the database service (systemctl reload postgresql) is required and may temporarily affect client connections.

All Red Hat Linux advisories

Get an email when Red Hat publishes the next one.

See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Red Hat