Skip to content
Heist/ feed
Back to feed
CriticalFix available

bsdiff — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2020-14315

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
Not specified
Fixed versions
4.3-22
CVEs
CVE-2020-14315
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 13:01 UTC · Revision 1

Source evidence

DEBIAN-CVE-2020-14315

core-osv · Original source

Published 16 Sept 2020, 14:15 UTC

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:DEBIAN-CVE-2020-14315

bsdiff

Fixed versions: 4.3-22

bsdiff

Fixed versions: 4.3-22

bsdiff

Fixed versions: 4.3-22

Complete source record
{
  "id": "b687df992873eb0aa09d47232ed2d72a771c24eb7b8f54ab3c138f0ddf6c031b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-14315",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-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:DEBIAN-CVE-2020-14315",
    "products": [
      {
        "name": {
          "value": "bsdiff",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.3-22",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bsdiff",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.3-22",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bsdiff",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.3-22",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2020-14315",
      "aliases": [
        "DEBIAN-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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.3-22"
                }
              ]
            }
          ],
          "package": {
            "name": "bsdiff",
            "purl": "pkg:deb/debian/bsdiff?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14315.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.3-22"
                }
              ]
            }
          ],
          "package": {
            "name": "bsdiff",
            "purl": "pkg:deb/debian/bsdiff?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14315.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.3-22"
                }
              ]
            }
          ],
          "package": {
            "name": "bsdiff",
            "purl": "pkg:deb/debian/bsdiff?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-14315.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T12:01:28.109466201Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-14315"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/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": 451674,
  "published_at": "2020-09-16T14:15:12.797+00:00"
}