{"cve":"CVE-2022-31026","nvd":{"published":"2022-06-09T13:15:08.457","modified":"2026-06-17T04:44:38.027","status":"Modified","description":"Trilogy is a client library for MySQL. When authenticating, a malicious server could return a specially crafted authentication packet, causing the client to read and return up to 12 bytes of data from an uninitialized variable in stack memory. Users of the trilogy gem should upgrade to version 2.1.1 This issue can be avoided by only connecting to trusted servers.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-908"],"references":["https://github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962","https://github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfm","https://github.com/github/trilogy/commit/6bed62789eaf119902b0fe247d2a91d56c31a962","https://github.com/github/trilogy/security/advisories/GHSA-5g4r-2qhx-vqfm"],"products":["trilogy_project:trilogy"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-31026","score":0.01094,"percentile":0.65523,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5g4r-2qhx-vqfm","url":"https://osv.dev/vulnerability/GHSA-5g4r-2qhx-vqfm","summary":"Use of Uninitialized Variable in trilogy","modified":"2023-11-08T04:09:23.087201Z","packages":[{"ecosystem":"RubyGems","name":"trilogy","purl":"pkg:gem/trilogy","ranges":["<2.1.1"],"fixed":["2.1.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."]}