When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the "base64" module the characters "+/" will always be accepted, regardless of the value of "altchars" parameter, typically used to establish an "alternative base64 alphabet" such as the URL safe alphabet. This behavior matches what is recommended in earlier base64 RFCs, but newer RFCs now recommend either dropping characters outside the specified base64 alphabet or raising an error. The old behavior has the possibility of causing data integrity issues. This behavior can only be insecure if your application uses an alternate base64 alphabet (without "+/"). If your application does not use the "altchars" parameter or the urlsafe_b64decode() function, then your application does not use an alternative base64 alphabet. The attached patches DOES NOT make the base64-decode behavior raise an error, as this would be a change in behavior and break existing programs. Instead, the patch deprecates the behavior which will be replaced with the newly recommended behavior in a future version of Python. Users are recommended to mitigate by verifying user-controlled inputs match the base64 alphabet they are expecting or verify that their application would not be affected if the b64decode() functions accepted "+" or "/" outside of altchars.
総合評価: CVE-2025-12781 は公開エクスプロイトあり(54.5/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.51%、39 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.02% | 0.51% | +0.50% |
| 2 | 2026-03-06 | 0.05% | 0.02% | -0.04% |
| 3 | 2026-03-04 | — | 0.05% | — |
EPSS の全履歴 (全 6 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-12781 not yet assigned priority: Debian including 5 source packages (pypy3, python3.11, python3.13, python3.14, python3.9), 12 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 12. | https://security-tracker.debian.org/tracker/CVE-2025-12781 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-12781 |
suse
|
low | CVE-2025-12781 severity low: SUSE including 337 source package names (13.2-9.73:libpython3_11-1_0-3.11.14-slfo.1.1_3.1, 13.2-9.73:python311-base-3.11.14-slfo.1.1_3.1, …), 724 product×package rows across 72 product lines (Container suse/sl-micro/6.0/toolbox, Container suse/sl-micro/6.1/baremetal-os-container, … (72 product lines)): Fixed 294, Known Affected 231, Will Not Fix 139, Known Not Affected 60. | https://www.suse.com/security/cve/CVE-2025-12781/ |
ubuntu
|
medium | CVE-2025-12781 medium priority: Ubuntu including 13 source packages (pypy3, python2.7, …), 65 status rows across 8 suites (bionic, focal, jammy, noble, questing, trusty, upstream, xenial): DNE 30, ignored 22, needs-triage 13. | https://ubuntu.com/security/CVE-2025-12781 |