Skip to content
Heist/ feed
Back to feed
MediumFix available

osslsigncode — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-39856

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an out-of-bounds read vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash computation code (pe_page_hash_calc()). When processing PE sections for page hashing, the function uses PointerToRawData and SizeOfRawData values from section headers without validating that the referenced region lies within the mapped file. An attacker can craft a PE file with section headers that point beyond the end of the file. When osslsigncode computes page hashes for such a file, it may attempt to hash data from an invalid memory region, causing an out-of-bounds read and potentially crashing 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.

Products
osslsigncode
Affected 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
Fixed versions
2.13-1
CVEs
CVE-2026-39856
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:38 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-39856

core-osv · Original source

Published 9 Apr 2026, 17:16 UTC

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an out-of-bounds read vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash computation code (pe_page_hash_calc()). When processing PE sections for page hashing, the function uses PointerToRawData and SizeOfRawData values from section headers without validating that the referenced region lies within the mapped file. An attacker can craft a PE file with section headers that point beyond the end of the file. When osslsigncode computes page hashes for such a file, it may attempt to hash data from an invalid memory region, causing an out-of-bounds read and potentially crashing 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.

osv:DEBIAN-CVE-2026-39856

osslsigncode

Fixed versions: Not specified

osslsigncode

Fixed versions: Not specified

osslsigncode

Fixed versions: 2.13-1

Complete source record
{
  "id": "45465daa5d43101fb6c9e123ee343f44062cac90c6ecf68ff49f65a01eb59773",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-39856",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-39856",
    "summary": "osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an out-of-bounds read vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash computation code (pe_page_hash_calc()). When processing PE sections for page hashing, the function uses PointerToRawData and SizeOfRawData values from section headers without validating that the referenced region lies within the mapped file. An attacker can craft a PE file with section headers that point beyond the end of the file. When osslsigncode computes page hashes for such a file, it may attempt to hash data from an invalid memory region, causing an out-of-bounds read and potentially crashing 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.",
    "evidence": "osv:DEBIAN-CVE-2026-39856",
    "products": [
      {
        "name": {
          "value": "osslsigncode",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.10-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.12-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.13-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.13-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.14-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.5-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.8-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.9-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.9-1~bpo12+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.9-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "osslsigncode",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.10-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.11-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.12-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.13-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.13-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.14-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.9-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "osslsigncode",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.13-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "2.10-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.11-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.12-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.9-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-39856",
      "aliases": [
        "DEBIAN-CVE-2026-39856"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "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-39856.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-39856.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-39856.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-27T09:47:28.888800154Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-39856"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-39856"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-39856",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 460937,
  "published_at": "2026-04-09T17:16:29.31+00:00"
}