{"cve":"CVE-2022-44566","nvd":{"published":"2023-02-09T20:15:11.017","modified":"2026-10-24T13:10:00.147","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400"],"references":["https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html","https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119","https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html","https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119"],"products":["activerecord_project:activerecord"],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2022-44566","score":0.01265,"percentile":0.69525,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-579w-22j4-4749","url":"https://osv.dev/vulnerability/GHSA-579w-22j4-4749","summary":"Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter","modified":"2026-02-03T03:17:25.303496Z","packages":[{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":["<6.1.7.1"],"fixed":["6.1.7.1"]},{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":[">=7.0.0 <7.0.4.1"],"fixed":["7.0.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}