7.5

CVE-2022-31026: github trilogy Use of Uninitialized Resource

CVSS: 7.5v3.1HighModified
AliasesGHSA-5g4r-2qhx-vqfm
Published 06-06-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-31026 is a high (CVSS 7.5) Use of Uninitialized Resource vulnerability in github trilogy. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.08%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 06-06-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.08%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

+0.03 pp

From 1.05% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.08%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Github1 product
RubyGems1 product
  • trilogy< 2.1.1
Trilogy_project1 product

3 vendors · 3 products

References

5 links