Out-of-bounds Read Affecting mtrojnar/osslsigncode package, versions [,2.13)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MTROJNAROSSLSIGNCODE-16081966
  • published16 Apr 2026
  • disclosed9 Apr 2026
  • creditopera-aklajn

Introduced: 9 Apr 2026

CVE-2026-39855  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade mtrojnar/osslsigncode to version 2.13 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the pe_page_hash_calc function when processing PE files. An attacker can cause a process crash by providing a malicious PE file with a SizeOfHeaders value larger than SectionAlignment, leading to an out-of-bounds read during page hash calculation. This can be triggered either while signing a crafted PE file with page hashing enabled or when verifying a malicious signed PE file containing page hashes.

CVSS Base Scores

version 4.0
version 3.1