Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-39855

Type: advisorySource: OSV1 source record

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an integer underflow vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash computation code (pe_page_hash_calc()). When page hash processing is performed on a PE file, the function subtracts hdrsize from pagesize without first validating that pagesize >= hdrsize. If a malicious PE file sets SizeOfHeaders (hdrsize) larger than SectionAlignment (pagesize), the subtraction underflows and produces a very large unsigned length. The code allocates a zero-filled buffer of pagesize bytes and then attempts to hash pagesize - hdrsize bytes from that buffer. After the underflow, this results in an out-of-bounds read from the heap and can crash the process. The vulnerability can be triggered while signing a malicious PE file with page hashing enabled (-ph), or while verifying a malicious signed PE file that already contains page hashes. Verification of an already signed file does not require the verifier to pass -ph. This vulnerability is fixed in 2.13.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-39855

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-39855

osslsigncode

Source reference: /affected/0/package/name

Affected versions
2.10-1

Source reference: /affected/0/versions

2.11-1

Source reference: /affected/0/versions

2.12-1

Source reference: /affected/0/versions

2.13-1

Source reference: /affected/0/versions

2.13-2

Source reference: /affected/0/versions

2.14-1

Source reference: /affected/0/versions

2.5-4

Source reference: /affected/0/versions

2.8-1

Source reference: /affected/0/versions

2.8-2

Source reference: /affected/0/versions

2.9-1

Source reference: /affected/0/versions

2.9-1~bpo12+1

Source reference: /affected/0/versions

2.9-2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

osslsigncode

Source reference: /affected/1/package/name

Affected versions
2.10-1

Source reference: /affected/1/versions

2.11-1

Source reference: /affected/1/versions

2.12-1

Source reference: /affected/1/versions

2.13-1

Source reference: /affected/1/versions

2.13-2

Source reference: /affected/1/versions

2.14-1

Source reference: /affected/1/versions

2.9-2

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

osslsigncode

Source reference: /affected/2/package/name

Affected versions
2.10-1

Source reference: /affected/2/versions

2.11-1

Source reference: /affected/2/versions

2.12-1

Source reference: /affected/2/versions

2.9-2

Source reference: /affected/2/versions

Fixed versions
2.13-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "osslsigncode",
      "purl": "pkg:deb/debian/osslsigncode?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.10-1",
      "2.11-1",
      "2.12-1",
      "2.13-1",
      "2.13-2",
      "2.14-1",
      "2.5-4",
      "2.8-1",
      "2.8-2",
      "2.9-1",
      "2.9-1~bpo12+1",
      "2.9-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-39855.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "osslsigncode",
      "purl": "pkg:deb/debian/osslsigncode?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "2.10-1",
      "2.11-1",
      "2.12-1",
      "2.13-1",
      "2.13-2",
      "2.14-1",
      "2.9-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-39855.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.13-1"
          }
        ]
      }
    ],
    "package": {
      "name": "osslsigncode",
      "purl": "pkg:deb/debian/osslsigncode?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "2.10-1",
      "2.11-1",
      "2.12-1",
      "2.9-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-39855.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57583 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement