Description
A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Service.
Affected products
activerecord_project: activerecord
References4
- discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-ser… PatchVendor Advisory
- discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-ser… PatchVendor Advisory
- code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-pos… ExploitMitigationThird Party Advisory
- code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-pos… ExploitMitigationThird Party Advisory
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 70 · as of 6 November 2026
- CWE
- CWE-400
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.