Advisory

USN-5068-1

Also known as: CVE-2017-6363, CVE-2021-38115, CVE-2021-40145

Summary

libgd2 vulnerabilities

Details

It was discovered that GD Graphics Library incorrectly handled certain GD and GD2 files.
An attacker could possibly use this issue to cause a crash or expose sensitive information.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 18.04 LTS, Ubuntu 16.04 ESM, and Ubuntu 14.04 ESM.
(CVE-2017-6363)

It was discovered that GD Graphics Library incorrectly handled certain TGA files.
An attacker could possibly use this issue to cause a denial of service or
expose sensitive information. (CVE-2021-381)

It was discovered that GD Graphics Library incorrectly handled certain files.
An attacker could possibly use this issue to cause a crash.
(CVE-2021-40145)

Severity

Not rated by the source.

Dates

Published
2021-09-08 13:08 UTC
Modified
2026-06-29 13:49 UTC

Affected packages and fixes

libgd2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.2.5-4ubuntu0.5 (ecosystem)

Fixed versions

2.2.5-4ubuntu0.5

Fix

  • Fixed version 2.2.5-4ubuntu0.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.

libgd2

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.2.5-5.2ubuntu2.1 (ecosystem)

Fixed versions

2.2.5-5.2ubuntu2.1

Fix

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