PatchDayAlert
Daily Digest · 2 min read · 5 CVEs · Issue 19 By PatchDayAlert

PostgreSQL buffer overflow, NGINX rewrite bypass, and a ksmbd file handle hijack

Three 8.0+ CVSS bugs across PostgreSQL's refint module, NGINX's rewrite engine, and Linux's in-kernel SMB server. None exploited in the wild yet, but the PostgreSQL and ksmbd bugs let authenticated attackers run arbitrary SQL or steal other users' files. GnuTLS DTLS crash and an APM symlink leak round out the set.

Patch now
0
Within 24h
3
This week
2
Exploited
0
Microsoft APMPipWindowsLinuxMacOSPostgreSQLAzure LinuxCloudNGINXLinux KernelKsmbdGnuTLS

No active exploitation today, but two high-severity bugs deserve your attention before the week gets going. PostgreSQL's refint module has a stack overflow that can lead to arbitrary SQL execution (CVSS 8.8), and NGINX's rewrite module, enabled by default in most configs, can be abused to bypass access controls or crash workers (CVSS 8.1). Three more round out the list, including a Linux ksmbd file handle hijack and a GnuTLS DTLS crash.


Today's CVEs

Sorted by urgency

02

CVE-2026-6637

MSRC
8.8
CVSS EPSS 0.04%
Patch within 24h HIGH
PostgreSQLAzure LinuxLinuxCloud

The refint (referential integrity) contrib module in PostgreSQL has a stack buffer overflow and a SQL injection path. An attacker who can trigger refint functions (for example, through crafted foreign key operations) could execute arbitrary SQL or potentially crash the server. Exploitation requires the attacker to have at least the ability to insert or update data in tables using refint triggers.

Affected estate
Anyone running PostgreSQL 16.x on Azure Linux 3.0, especially if you use the refint contrib module for referential integrity triggers
How to check
Run `psql --version` or `rpm -q postgresql` to confirm the installed version. Check if any databases use `CREATE EXTENSION refint` or reference refint trigger functions.
Included because
high CVSS 8.8; SQL injection and buffer overflow; common product; database tier
Action
Patch PostgreSQL via `tdnf update postgresql` and restart the service.
Why it matters
A stack overflow and SQL injection in a database engine can lead to full data compromise or server crashes.
Source
Azure Linux Security Advisory

Evidence trail

03

CVE-2026-42945

MSRC
8.1
CVSS EPSS 0.15%
Patch within 24h HIGH
NGINXAzure LinuxLinuxCloud

A vulnerability in NGINX's rewrite module (ngx_http_rewrite_module) could let an attacker send crafted requests that break rewrite rule processing. Depending on the configuration, this could lead to unexpected behavior, bypassing access controls, or crashing the worker process. Since the rewrite module is enabled by default in most NGINX configs, exposure is broad.

Affected estate
Anyone running NGINX 1.28.3 or earlier on Azure Linux 3.0, particularly if you use rewrite rules in your server blocks
How to check
Run `nginx -v` or `rpm -q nginx` to confirm the installed version.
Included because
high CVSS 8.1; internet-facing; common product; rewrite module enabled by default
Action
Update via `tdnf update nginx` and run `nginx -s reload`.
Why it matters
NGINX is typically internet-facing, and the rewrite module is almost universally enabled, making this a wide exposure surface.
Source
Azure Linux Security Advisory

Evidence trail

04

CVE-2026-31717

MSRC
8.8
CVSS EPSS 0.04%
Patch within 24h HIGH
Linux KernelKsmbdAzure LinuxLinuxCloud

The in-kernel SMB server (ksmbd) doesn't properly validate ownership of durable file handles when a client reconnects. An attacker on the network could hijack another user's file handle after reconnection, gaining access to files they shouldn't be able to touch. This only affects you if ksmbd is enabled; most environments use Samba in user space instead.

Affected estate
Anyone running Azure Linux 3.0 with ksmbd enabled (kernel versions 6.6.137.1-2 through 6.6.139.1-1)
How to check
Run `uname -r` to check the kernel version. Run `lsmod | grep ksmbd` to see if the module is loaded.
Included because
high CVSS 8.8; network-accessible; authentication bypass on file handles
Action
Update the kernel via `tdnf update kernel` and reboot. If ksmbd isn't needed, unload it immediately with `modprobe -r ksmbd`.
Why it matters
An attacker on the network can hijack another user's file handles, potentially reading or modifying sensitive files.
Source
Azure Linux Security Advisory

Evidence trail

05

CVE-2026-42009

NVD
7.5
CVSS
Patch this week HIGH
GnuTLSLinux

GnuTLS has a bug in how it reorders DTLS packets. When two packets arrive with the same sequence number, the sorting logic produces undefined behavior that can crash the process. A remote attacker can trigger this by sending duplicate-sequence DTLS packets, causing a denial of service. This only affects services using DTLS (UDP-based TLS), not standard TLS over TCP.

Affected estate
Anyone running services that use GnuTLS for DTLS connections, such as VPN endpoints, VoIP servers, or IoT gateways
How to check
Run `gnutls-cli --version` or check the package version with your package manager (e.g., `rpm -q gnutls` or `dpkg -l libgnutls*`).
Included because
unauthenticated; remote denial of service; CVSS 7.5; limited to DTLS use cases
Action
Update gnutls via your package manager and restart services that depend on it.
Why it matters
A remote attacker can crash any DTLS-reliant service with crafted packets, no authentication required.

Evidence trail


One email, every Wednesday morning.

Subscribe