cve.bz

CVE-2022-4055 freedesktop xdg-utils

7.4 highExploit referenceEPSS 0.8%

High (7.4) in freedesktop xdg-utils. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
When xdg-mail is configured to use thunderbird for mailto URLs, improper parsing of the URL can lead to additional headers being passed to thunderbird that should not be included per RFC 2368. An attacker can use this method to create a mailto URL that looks safe to users, but will actually attach files when clicked.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-04-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-146 Improper Neutralization of Expression/Command Delimiters
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-4055 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4055?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4055?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-4055 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freedesktop:xdg-utilsfrom 1.1.0 through 1.1.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14xdg-utilsno fix listedDEBIAN-CVE-2022-4055
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morexdg-utilsno fix listedUBUNTU-CVE-2022-4055
Red Hatenterprise_linux:9::appstreamxdg-utils0:1.1.3-13.el9_6RHSA-2025:7672
AlmaLinux9xdg-utils1.1.3-13.el9_6ALSA-2025:7672
Rocky Linux9xdg-utils0:1.1.3-13.el9_6RLSA-2025:7672
Azure Linux2xdg-utilsno fix listedAZL-11465
Azure Linux3xdg-utils1.2.1-3AZL-37063

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this flaw, an attacker would need to convince a user to click on a specially crafted mailto URL. Additionally, the user must have the Thunderbird email client installed and xdg-mail configured to use Thunderbird to handle mailto URLs. Therefore, this vulnerability is rated as moderate rather than important because it requires user interaction and specific system configurations.

Red Hat's mitigation

To mitigate this flaw, either:

1. Do not use mailto links at all

2. Always double-check in the user interface that there are no unwanted attachments before sending emails; especially when the email originates from clicking a mailto link.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9xdg-utils-0:1.1.3-13.el9_6Fixed 2025-05-15RHSA-2025:7672
Red Hat Enterprise Linux 6xdg-utilsOut of support scope
Red Hat Enterprise Linux 7xdg-utilsOut of support scope
Red Hat Enterprise Linux 8xdg-utilsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-4055.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON