PyPI: pysodium

SFTY-20231213-98931

Safety legacy ID: pyup.io-62827

Pysodium 0.7.17 fixes the maximum message size that was a value larger than what is considered secure which could potentially lead to a buffer overflow attack. https://github.com/stef/pysodium/commit/8d2c6d897b0fc6e20470d8e554679a5b693ae4e4

Created at: Nov 5, 2025Updated at: Nov 5, 2025

Overview

Pysodium 0.7.17 fixes the maximum message size that was a value larger than what is considered secure which could potentially lead to a buffer overflow attack. https://github.com/stef/pysodium/commit/8d2c6d897b0fc6e20470d8e554679a5b693ae4e4

Advisory

Pysodium 0.7.17 fixes the maximum message size that was a value larger than what is considered secure which could potentially lead to a buffer overflow attack. https://github.com/stef/pysodium/commit/8d2c6d897b0fc6e20470d8e554679a5b693ae4e4

Affected Package

Affecting pysodium package, versions<0.7.17

Also affects

---

How to Fix

Upgradepysodiumto0.7.17or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more