bsdiff — security advisory
A memory corruption vulnerability is present in bspatch as shipped in Colin Percival’s bsdiff tools version 4.3. Insufficient checks when handling external inputs allows an attacker to bypass the sanity checks in place and write out of a dynamically allocated buffer boundaries.
- Products
- bsdiff
- Affected versions
- 4.3-15, 4.3-15+deb8u1build0.16.04.1, 4.3-19, 4.3-20, 4.3-21, 4.3-22, 4.3-23, 4.3-23build1
- Fixed versions
- Not specified
- CVEs
- CVE-2020-14315
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:34 UTC · Revision 1
Source evidence
A memory corruption vulnerability is present in bspatch as shipped in Colin Percival’s bsdiff tools version 4.3. Insufficient checks when handling external inputs allows an attacker to bypass the sanity checks in place and write out of a dynamically allocated buffer boundaries.
osv:UBUNTU-CVE-2020-14315
bsdiff
Fixed versions: Not specified
bsdiff
Fixed versions: Not specified
bsdiff
Fixed versions: Not specified
bsdiff
Fixed versions: Not specified
bsdiff
Fixed versions: Not specified
bsdiff
Fixed versions: Not specified
bsdiff
Fixed versions: Not specified
bsdiff
Fixed versions: Not specified
Complete source record
{
"id": "7e61e91361c5255f7af0788194830533f7822e9d25850d6a392ef5b9f5fb72cb",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-14315",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2020-14315",
"summary": "A memory corruption vulnerability is present in bspatch as shipped in Colin Percival’s bsdiff tools version 4.3. Insufficient checks when handling external inputs allows an attacker to bypass the sanity checks in place and write out of a dynamically allocated buffer boundaries.",
"evidence": "osv:UBUNTU-CVE-2020-14315",
"products": [
{
"name": {
"value": "bsdiff",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-15",
"evidence": "/affected/0/versions"
},
{
"value": "4.3-15+deb8u1build0.16.04.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "bsdiff",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-19",
"evidence": "/affected/1/versions"
},
{
"value": "4.3-20",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "bsdiff",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-21",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "bsdiff",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-22",
"evidence": "/affected/3/versions"
},
{
"value": "4.3-23",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "bsdiff",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-23",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "bsdiff",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-23",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "bsdiff",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-23build1",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "bsdiff",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.3-23",
"evidence": "/affected/7/versions"
},
{
"value": "4.3-23build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2020-14315",
"aliases": [
"UBUNTU-CVE-2020-14315"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"4.3-15",
"4.3-15+deb8u1build0.16.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-15+deb8u1build0.16.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"4.3-19",
"4.3-20"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-20"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"4.3-21"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-21"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"4.3-22",
"4.3-23"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-23"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"4.3-23"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-23"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"4.3-23"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-23"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.3-23build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-23build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "bsdiff",
"purl": "pkg:deb/ubuntu/bsdiff?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"4.3-23",
"4.3-23build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14315.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "bsdiff",
"binary_version": "4.3-23build1"
}
]
}
}
],
"modified": "2026-10-17T12:55:44.708737188Z",
"provider": "osv",
"upstream": [
"CVE-2020-14315"
],
"references": [
"https://ubuntu.com/security/CVE-2020-14315",
"https://www.openwall.com/lists/oss-security/2020/07/09/2",
"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:29.bspatch.asc",
"https://www.cve.org/CVERecord?id=CVE-2020-14315"
]
},
"related_cves": [
{
"value": "CVE-2020-14315",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354007,
"published_at": "2020-09-16T14:15:00+00:00"
}