Unicode Encoding Vulnerability in Python Packages: CVE-2025-1795

python3.4 Updated 14 Dec 2025

Summary

28/02/2025
N/A
No i
Low
2.3

UBUNTU-CVE-2025-1795: During an address list folding when a separating comma ends up on a folded line and that line is to be unicode-encoded then the separator itself is also unicode-encoded. Affects python3.4 versions 3.4.0-1 – 3.4~rc3-0ubuntu1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python is a widely-used high-level programming language known for its readability and versatility. The affected packages, including python3.4, python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, and python3.11, are essential components of the Python ecosystem, providing various functionalities for developers. This vulnerability arises from an issue in address list folding, which can lead to incorrect handling of email headers.

Vulnerability Detail

The vulnerability, identified as CVE-2025-1795, occurs during the process of address list folding when a separating comma is placed on a folded line that is to be unicode-encoded. Instead of remaining a plain comma, the separator is also unicode-encoded, which can cause the address header to be misinterpreted by some mail servers. This misinterpretation can lead to email delivery issues, potentially affecting communication and data integrity.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can avoid using unicode encoding for address headers until the packages are updated. This may involve modifying the code that handles email address formatting to ensure that commas remain plain and are not subject to unicode encoding.

Conclusion

CVE-2025-1795 presents a significant risk to Python applications that handle email address headers. By understanding the nature of this vulnerability and taking appropriate steps to update affected packages, developers can safeguard their applications against potential misinterpretation issues.

See every vulnerability recorded for python3.4 →

Share this vulnerability

FAQ

CVE-2025-1795 is a vulnerability in various Python packages that affects how email address headers are processed, potentially leading to misinterpretation by mail servers.

The affected versions include python3.4, python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, and python3.11.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to email delivery issues due to misinterpretation of address headers, which may affect communication and data integrity.

Yes, patches are available for the affected Python packages. It is recommended to update to the latest patched versions to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for python3.4.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback