{"cve":"CVE-2020-15904","nvd":{"published":"2020-07-22T23:15:11.330","modified":"2026-06-17T02:57:22.917","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-787"],"references":["https://github.com/ilanschnell/bsdiff4/blob/master/CHANGELOG.txt","https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7","https://github.com/ilanschnell/bsdiff4/blob/master/CHANGELOG.txt","https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7"],"products":["pypi:bsdiff4"],"source":"nvd","synced_at":"2026-10-19T21:06:22.076270124+00:00"},"epss":{"cve":"CVE-2020-15904","score":0.0105,"percentile":0.64277,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-f8m3-jpxr-hm5x","url":"https://osv.dev/vulnerability/GHSA-f8m3-jpxr-hm5x","summary":"bsdiff4 out-of-bounds write via patch file","modified":"2024-09-06T16:00:50.578968Z","packages":[{"ecosystem":"PyPI","name":"bsdiff4","purl":"pkg:pypi/bsdiff4","ranges":["<1.2.0"],"fixed":["1.2.0"]}]},{"id":"PYSEC-2020-30","url":"https://osv.dev/vulnerability/PYSEC-2020-30","summary":"","modified":"2026-06-10T17:00:39.031299899Z","packages":[{"ecosystem":"PyPI","name":"bsdiff4","purl":"pkg:pypi/bsdiff4","ranges":["<1.2.0"],"fixed":["1.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}