Advisory

UBUNTU-CVE-2026-58471

Also known as: CVE-2026-58471

Summary

The record has no summary.

Details

GNU Wget through 1.25.0, fixed in commit c2640fe, contains a heap buffer overflow vulnerability in the convert_fname() function within src/url.c that allows remote attackers to trigger memory corruption through a server-supplied filename requiring character set conversion. When the output buffer is too small during iconv E2BIG reallocation, the reallocation logic miscalculates the remaining space, leading to a heap buffer overflow that can be exploited via a maliciously crafted server response.

Severity

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

Dates

Published
2026-07-07 21:17 UTC
Modified
2026-07-15 04:00 UTC

Affected packages and fixes

wget

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

1.21.2-2ubuntu1.3

Fix

  • Fixed version 1.21.2-2ubuntu1.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.

wget

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.21.4-1ubuntu4.3 (ecosystem)

Fixed versions

1.21.4-1ubuntu4.3

Fix

  • Fixed version 1.21.4-1ubuntu4.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.

wget

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

wget

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.25.0-2ubuntu4.2 (ecosystem)

Fixed versions

1.25.0-2ubuntu4.2

Fix

  • Fixed version 1.25.0-2ubuntu4.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