Advisory

UBUNTU-CVE-2016-8622

Also known as: CVE-2016-8622

Summary

The record has no summary.

Details

The URL percent-encoding decode function in libcurl before 7.51.0 is called curl_easy_unescape. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2016-11-02 00:00 UTC
Modified
2026-04-22 11:01 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 7.35.0-1ubuntu2.10 (ecosystem)

Fixed versions

7.35.0-1ubuntu2.10

Fix

  • Fixed version 7.35.0-1ubuntu2.10
    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.

curl

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 7.47.0-1ubuntu2.2 (ecosystem)

Fixed versions

7.47.0-1ubuntu2.2

Fix

  • Fixed version 7.47.0-1ubuntu2.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