PT-2026-31646 · Unknown · Osslsigncode
Published
2026-04-09
·
Updated
2026-04-09
·
CVE-2026-39855
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
osslsigncode versions prior to 2.13
Description
osslsigncode is a tool for Authenticode signing and timestamping. An integer underflow exists in versions 2.12 and earlier within the PE page-hash computation code (
pe page hash calc()). This occurs when processing PE files where the SizeOfHeaders (hdrsize) is larger than the SectionAlignment (pagesize). The subtraction of hdrsize from pagesize without validation leads to an integer underflow, resulting in a large unsigned length. This causes an out-of-bounds read from the heap during hashing, potentially crashing the process. The issue is triggered when signing malicious PE files with page hashing enabled (-ph) or verifying malicious signed PE files containing page hashes.Recommendations
Update osslsigncode to version 2.13 or later.
Fix
Out of bounds Read
Integer Underflow
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Osslsigncode