# JLSEC-2026-607: Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system…

- Severity: High 8.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-06-08T13:54:13.679Z
- Modified: 2026-07-18T00:02:15.270Z
- Related: CVE-2026-6637

## Description

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.

(As written by Julia Security Advisories.)

## Affected

- LibPQ_jll (Julia): before 16.14.0+0

## References

- <https://www.postgresql.org/support/security/CVE-2026-6637/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-607](https://osv.dev/vulnerability/JLSEC-2026-607), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-607 · Whole record: https://cve.day/JLSEC-2026-607.json · Rebuilt by cve.day 2026-11-25T22:56:26.174Z
