Search for vulnerabilities
Vulnerability details: VCID-4c88-pg9t-ykce
Vulnerability ID VCID-4c88-pg9t-ykce
Aliases CVE-2021-40812
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
epss 0.0014 https://api.first.org/data/v1/epss?cve=CVE-2021-40812
cvssv3.1 4 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1 6.5 https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9
ssvc Track https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9
cvssv3.1 6.5 https://github.com/libgd/libgd/issues/750#issuecomment-914872385
ssvc Track https://github.com/libgd/libgd/issues/750#issuecomment-914872385
cvssv3.1 6.5 https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
ssvc Track https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
cvssv2 4.3 https://nvd.nist.gov/vuln/detail/CVE-2021-40812
cvssv3.1 6.5 https://nvd.nist.gov/vuln/detail/CVE-2021-40812
archlinux Medium https://security.archlinux.org/AVG-2258
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-30T16:15:07Z/ Found at https://github.com/libgd/libgd/commit/6f5136821be86e7068fcdf651ae9420b5d42e9a9
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://github.com/libgd/libgd/issues/750#issuecomment-914872385
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-30T16:15:07Z/ Found at https://github.com/libgd/libgd/issues/750#issuecomment-914872385
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-30T16:15:07Z/ Found at https://lists.debian.org/debian-lts-announce/2024/04/msg00003.html
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-40812
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-40812
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.34766
EPSS Score 0.0014
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:47:24.074548+00:00 Ubuntu USN Importer Import https://usn.ubuntu.com/7112-1/ 37.0.0