PT-2026-3848

CVE-2025-12781

·

Published

2024-10-12

·

Updated

2026-10-09

Description by

CVSS 4.0
6.3
Medium
MetricsAV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Python versions (affected versions not specified)
Description The b64decode(), standard b64decode(), and urlsafe b64decode() functions within the "base64" module incorrectly accept characters "+/" regardless of the altchars parameter. This behavior deviates from newer RFC recommendations, which suggest either dropping unrecognized characters or raising an error. This discrepancy can potentially lead to data integrity issues if an application relies on a custom base64 alphabet that excludes "+/". The issue is not a security flaw in itself but a deviation from current standards that could cause unexpected behavior. The provided patch deprecates the existing behavior, planning to align with the newer RFC recommendations in a future Python version.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
AZL-109683
AZL-75225
AZL-75231
AZL-84287
BIT-LIBPYTHON-2025-12781
BIT-PYTHON-2025-12781
BIT-PYTHON-MIN-2025-12781
ECHO-F28E-A9D3-D8E5
OESA-2026-1356
OESA-2026-1357
OESA-2026-1358
OESA-2026-1461
OPENSUSE-SU-2026:10152-1
OPENSUSE-SU-2026:10206-1
OPENSUSE-SU-2026:10221-1
OPENSUSE-SU-2026:10222-1
PSF-2026-7
SUSE-SU-2026:0693-1
SUSE-SU-2026:0767-1
SUSE-SU-2026:20665-1
SUSE-SU-2026:20710-1
Found an issue in the description? Have something to add? Feel free to write us 👾