CVE-2020-15904Pypi Bsdiff4
High 7.8
Follow: this CVE · Pypi · Pypi Bsdiff4 We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Bsdiff4.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| pypi | bsdiff4 | < 1.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory