Live threats

All CVEs / Pypi

CVE-2020-15904Pypi Bsdiff4

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
Yes
Published
Jul 22, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

A buffer overflow in the patching routine of bsdiff4 before 1.2.0 allows an attacker to write to heap memory (beyond allocated bounds) via a crafted patch file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bsdiff4.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI bsdiff4 < 1.2.0 1.2.0 pip install "bsdiff4>=1.2.0"
PyPI bsdiff4 < 1.2.0 1.2.0 pip install "bsdiff4>=1.2.0"

Per OSV / GitHub Advisories (GHSA-f8m3-jpxr-hm5x, PYSEC-2020-30). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pypibsdiff4< 1.2.0

Official sources

References

Links published by the sources. Open them with care.