gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendor's position is "The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes.
総合評価: CVE-2021-40145 は悪用リスクが高い(72.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 2.05%、79 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-19 | 1.98% | 2.05% | +0.07% |
| 2 | 2026-06-15 | 0.59% | 1.98% | +1.40% |
| 3 | 2026-05-18 | — | 0.59% | — |
EPSS の全履歴 (全 26 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2021-40145: 1 source package rows (gd); 9 state rows across 9 repos (3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 9, open 0. | https://security.alpinelinux.org/vuln/CVE-2021-40145 |
debian
|
unimportant | CVE-2021-40145 unimportant priority: Debian including 1 source packages (libgd2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-40145 |
ubuntu
|
medium | CVE-2021-40145 medium priority: Ubuntu including 5 source packages (libgd2, php5, php7.0, php7.2, php7.3), 40 status rows across 8 suites (bionic, focal, hirsute, impish, jammy, trusty, upstream, xenial): DNE 25, released 7, needs-triage 5, not-affected 3. | https://ubuntu.com/security/CVE-2021-40145 |
| URL | タグ |
|---|---|
| https://github.com/libgd/libgd/commit/c5fd25ce0e48fd5618a972ca9f5e28d6d62006af | Patch Third Party Advisory |
| https://github.com/libgd/libgd/issues/700 | Exploit Issue Tracking Third Party Advisory |
| https://github.com/libgd/libgd/pull/713 | Issue Tracking Third Party Advisory |