Advisory

DEBIAN-CVE-2026-16118

Also known as: CVE-2026-16118

Summary

The record has no summary.

Details

A flaw was found in xdgmime. A heap-based buffer overflow can be triggered in _xdg_mime_magic_parse_magic_line() in the xdgmimemagic.c file on little-endian systems when an attacker-controlled MIME magic file in a user-writable XDG data location (e.g., in the $XDG_DATA_HOME/mime/magic path) is parsed by an application performing MIME type detection (e.g., via g_content_type_guess()). When performing byte-swap, incorrect pointer arithmetic on the write side causes an out-of-bounds write of 2 bytes, resulting in an application crash or memory corruption.

Severity

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

Dates

Published
2026-07-17 20:17 UTC
Modified
2026-11-13 09:47 UTC

Affected packages and fixes

glib2.0

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

glib2.0

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2.84.4-3~deb13u5 (ecosystem)

Fixed versions

2.84.4-3~deb13u5

Fix

  • Fixed version 2.84.4-3~deb13u5
    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.

glib2.0

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2.88.3-3 (ecosystem)

Fixed versions

2.88.3-3

Fix

  • Fixed version 2.88.3-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.

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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences