Advisory

UBUNTU-CVE-2026-84270

Also known as: CVE-2026-84270

Summary

The record has no summary.

Details

A flaw was found in the MTP backend in gvfs. When reading a file from a mounted MTP device, do_read() in gvfsbackendmtp.c trusts the data length returned by the device without limiting it to the original size requested by the client. If a malicious MTP device responds with more bytes than requested, this unrestricted length is passed directly to memcpy(). This causes the operation to read memory outside the intended boundaries. This allows an attacker who plugs in a malicious MTP device to cause a segmentation fault when a file is read and crash the gvfsd-mtp process, resulting in a denial of service.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2026-09-01 16:17 UTC
Modified
2026-11-03 21:20 UTC

Affected packages and fixes

gvfs

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.48.2-0ubuntu1.3 (ecosystem)

Fixed versions

1.48.2-0ubuntu1.3

Fix

  • Fixed version 1.48.2-0ubuntu1.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gvfs

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.54.4-0ubuntu1~24.04.5 (ecosystem)

Fixed versions

1.54.4-0ubuntu1~24.04.5

Fix

  • Fixed version 1.54.4-0ubuntu1~24.04.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gvfs

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.60.0-1ubuntu0.2 (ecosystem)

Fixed versions

1.60.0-1ubuntu0.2

Fix

  • Fixed version 1.60.0-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences