CVE-2025-12781
base64.b64decode() always accepts "+/" characters, despite setting altchars
02 Description
base64.b64decode() always accepts "+/" characters, despite setting altchars
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.85% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 58.2% of scored records. A rank, not a probability.
- NVD base score
- 6.3 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-01-21 19:34Z9 MO AGO
- Last updated
- 2026-01-22 20:12Z9 MO AGO
- Reserved
- 2025-11-05
- Assigning CNA
- PSF
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.3)
- CNA CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- Data version
- 5.2
- Document digest
- c63ad33425d1db0eee91c21320946da43c096981a1cbd9cab4941f0f10b2c9d2
05 Affected products
06 References
- github.comhttps://github.com/python/cpython/pull/141128
- github.comhttps://github.com/python/cpython/issues/125346
- mail.python.orghttps://mail.python.org/archives/list/security-announce@python.org/thread/KRI7GC6S27YV5NJ4FPDALS2WI5ENAFJ6/
- github.comhttps://github.com/python/cpython/commit/13360efd385d1a7d0659beba03787ea3d063ef9b
- github.comhttps://github.com/python/cpython/commit/1be80bec7960f5ccd059e75f3dfbd45fca302947
- github.comhttps://github.com/python/cpython/commit/9060b4abbe475591b6230b23c2afefeff26fcca5
- github.comhttps://github.com/python/cpython/commit/e95e783dff443b68e8179fdb57737025bf02ba76
- github.comhttps://github.com/python/cpython/commit/fd17ee026fa9b67f6288cbafe374a3e479fe03a5
07 Fixed in
Debian 12
- pypy3 No fix yet
- python3.11 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- pypy3 No fix yet
- python3.13 No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- pypy3 No fix yet
- python3.13 No fix yet
- python3.14 Fixed in 3.14.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- pypy3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- pypy3 No fix yet
- python2.7 No fix yet
- python3.10 No fix yet
- python3.11 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- pypy3 No fix yet
- python3.12 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- pypy3 No fix yet
- python3.13 No fix yet
- python3.14 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- pypy3 No fix yet
- python3.14 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- pypy3 No fix yet
- python3.14 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- python2.7 No fix yet
- python3.4 No fix yet
- python3.5 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- python2.7 No fix yet
- python3.5 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- python2.7 No fix yet
- python3.6 No fix yet
- python3.7 No fix yet
- python3.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- python2.7 No fix yet
- python3.8 No fix yet
- python3.9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.