Skip to main content

CVE-2022-43151: n/a in n/a

Medium
VulnerabilityCVE-2022-43151cvecve-2022-43151
Published: Mon Oct 31 2022 (10/31/2022, 00:00:00 UTC)
Source: CVE
Vendor/Project: n/a
Product: n/a

Description

timg v1.4.4 was discovered to contain a memory leak via the function timg::QueryBackgroundColor() at /timg/src/term-query.cc.

AI-Powered Analysis

AILast updated: 07/05/2025, 17:26:31 UTC

Technical Analysis

CVE-2022-43151 is a medium severity vulnerability identified in timg version 1.4.4, specifically involving a memory leak in the function timg::QueryBackgroundColor() located in the source file /timg/src/term-query.cc. The vulnerability is classified under CWE-401, which corresponds to improper release of memory, commonly known as a memory leak. This flaw allows the application to consume increasing amounts of memory over time when the affected function is invoked repeatedly, potentially leading to resource exhaustion. The CVSS v3.1 base score is 5.5, reflecting a medium severity level. The vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H indicates that the attack requires local access (AV:L), low attack complexity (AC:L), no privileges (PR:N), and user interaction (UI:R). The impact is limited to availability (A:H), with no confidentiality or integrity impact. No known exploits are currently reported in the wild, and no patches or vendor advisories have been linked, suggesting that remediation may require manual code review or updates from the maintainers. Since the vulnerability requires local access and user interaction, exploitation is less likely in remote or automated attack scenarios but remains a concern for environments where untrusted users have local access to systems running timg 1.4.4. The memory leak could degrade system performance or cause denial of service by exhausting memory resources over time.

Potential Impact

For European organizations, the primary impact of this vulnerability is on system availability and stability. Organizations using timg 1.4.4 in local environments, such as development workstations, CI/CD pipelines, or internal tools that rely on terminal image rendering, may experience degraded performance or crashes due to memory exhaustion. This could disrupt workflows, delay operations, or cause system outages if the affected software is part of critical infrastructure or automation processes. Although the vulnerability does not compromise confidentiality or integrity, the denial of service potential could affect productivity and operational continuity. The risk is higher in environments with multiple users sharing systems or where untrusted users have local access, such as in shared workstations or multi-tenant development environments. European organizations with strict uptime requirements or those operating in sectors like finance, healthcare, or critical infrastructure should be particularly cautious. However, the limited attack vector (local access and user interaction) reduces the likelihood of widespread exploitation in enterprise environments.

Mitigation Recommendations

To mitigate this vulnerability, European organizations should first identify any usage of timg version 1.4.4 within their environments. Since no official patches are currently linked, organizations should consider the following specific actions: 1) Limit local user access to systems running timg to trusted personnel only, reducing the risk of exploitation via user interaction. 2) Monitor memory usage of processes invoking timg, especially those that call the QueryBackgroundColor() function, to detect abnormal memory consumption early. 3) If feasible, replace or upgrade timg to a later version once a patch is released or consider alternative tools that do not exhibit this vulnerability. 4) Implement strict user session controls and sandboxing to isolate the impact of potential memory leaks. 5) Engage with the timg maintainers or open-source community to track patch releases or contribute fixes. 6) Incorporate this vulnerability into vulnerability management and incident response plans to ensure timely detection and remediation. These targeted measures go beyond generic advice by focusing on access control, monitoring, and proactive software management specific to the nature of this memory leak.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2022-10-17T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d981bc4522896dcbda1c7

Added to database: 5/21/2025, 9:08:43 AM

Last enriched: 7/5/2025, 5:26:31 PM

Last updated: 7/26/2025, 4:32:19 PM

Views: 9

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats