Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-40812

Published: 8 September 2021

The GD Graphics Library (aka LibGD) through 2.3.2 has an out-of-bounds read because of the lack of certain gdGetBuf and gdPutBuf return value checks.

Notes

AuthorNote
mdeslaur
php uses the system libgd2
leosilva
the fix proposed is a partial one that address BMP and WebP
but not GIF.
no complete fix available from upstream as of 2021-11-08
rodrigo-zaiden
still no complete fix from upstream as of 2022-11-25.

Priority

Low

Cvss 3 Severity Score

6.5

Score breakdown

Status

Package Release Status
libgd2
Launchpad, Ubuntu, Debian
bionic Deferred
(2022-11-25)
focal Deferred
(2022-11-25)
hirsute Ignored
(end of life)
impish Ignored
(end of life)
jammy Deferred
(2022-11-25)
kinetic Ignored
(end of life, was deferred [2022-11-25])
lunar Ignored
(end of life, was deferred [2022-11-25])
mantic Deferred
(2022-11-25)
trusty Deferred
(2022-11-25)
upstream Needs triage

xenial Deferred
(2022-11-25)
Patches:
upstream: https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9
php5
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

mantic Does not exist

trusty Not vulnerable
(uses system gd)
upstream Needs triage

xenial Does not exist

php7.0
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Not vulnerable
(uses system gd)
php7.2
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(uses system gd)
focal Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

php7.3
Launchpad, Ubuntu, Debian
bionic Does not exist

focal Does not exist

hirsute Does not exist

impish Does not exist

jammy Does not exist

kinetic Does not exist

lunar Does not exist

mantic Does not exist

trusty Does not exist

upstream Needs triage

xenial Does not exist

Severity score breakdown

Parameter Value
Base score 6.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H