Intel

AIKIDO-2025-10514

pg is vulnerable to Denial of Service (DoS)

Denial of Service (DoS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

20

Low Risk

This Affects:

rubypg
0.18.0 - 1.5.9
Fixed in 1.6.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to denial-of-service (DoS) attacks due to unexpected segmentation faults in the pg_tmbc_fit_to_query function. These faults occur when encoding an array of composite types fails, potentially causing the application to crash. This vulnerability can be exploited to disrupt service availability and lead to repeated application failures.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

pg is vulnerable to Denial of Service (DoS) in versions 0.18.0 - 1.5.9.

How to fix this

Upgrade the pg library to the patch version.