CVE-2026-18447: Red Hat Arbitrary code execution via type confusion in SQL-language functions
This Red Hat advisory covers CVE-2026-18447. Related products: Red Hat Hardened Images.
- CVE-2026-18447
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-843 Access of Resource Using Incompatible Type ('Type Confusion')
- EPSS
- 0.59% 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
Description
Arbitrary code execution via type confusion in SQL-language functions. Red Hat rates this important (CVSS 8.8).
Weakness: CWE-843. 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-18447
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
- 1. Revoke CREATE privileges on public and user schemas from untrusted database roles to prevent unauthorized function creation: REVOKE CREATE ON SCHEMA public FROM PUBLIC; REVOKE CREATE ON SCHEMA <schema_name> FROM <role_name>; 2. Restrict network access to the PostgreSQL service to trusted management networks or hosts using firewalld: firewall-cmd --permanent --remove-service=postgresql firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="<trusted_ip_or_subnet>" service name="postgresql" accept' firewall-cmd --reload 3. Restrict database client access in /var/lib/pgsql/data/pg_hba.conf to trusted IP addresses only, then reload the database configuration: systemctl reload postgresql Caveats: Revoking schema creation privileges prevents affected database users from creating or altering functions, tables, or other objects, which may disrupt applications that rely on dynamic object definitions. Restricting network access or filtering client subnets prevents connections from unlisted hosts. Warning: Applying firewall changes or configuration changes requires reloading the firewall (`firewall-cmd --reload`) or the PostgreSQL service (`systemctl reload postgresql`), which may briefly disrupt active network connections or client sessions.
More Red Hat Linux advisories
CVE-2026-125350Nov 10, 2026Use after free in XMLCVE-2026-114713Nov 8, 2026Command injection via unescaped message tagCVE-2026-90436Nov 6, 2026Remote code execution via insecure deserialization of SOAP fault messagesCVE-2026-123158Nov 5, 2026Password authentication bypass via password hash misinterpretationCVE-2026-115731Nov 3, 2026authenticated remote code execution via report event deserializationCVE-2026-119977Oct 31, 2026Arbitrary code execution via predictable upgrade staging paths
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.