Bug 2499724

Summary: CVE-2026-6637 postgresql18: PostgreSQL: Arbitrary code execution vulnerability in 'refint' module [fedora-all]
Product: [Fedora] Fedora Reporter: Jon Weiser <jweiser>
Component: postgresql18Assignee: Filip Januš <fjanus>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 45CC: db-sig, fjanus, ndavidov
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["cd8c0edd-bda4-4529-abd8-4fa11ed85d28"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2477443    

Description Jon Weiser 2026-07-13 17:00:38 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system user running the database.  A distinct attack is possible if the application declares a user-controlled column as a "refint" cascade primary key and facilitates user-controlled updates to that column.  In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update.  Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Comment 1 Aoife Moloney 2026-08-17 15:19:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.