Bug 2456945 (CVE-2026-39856) - CVE-2026-39856 osslsigncode: out-of-bounds read via unvalidated section bounds in PE page hash calculation
Summary: CVE-2026-39856 osslsigncode: out-of-bounds read via unvalidated section bound...
Keywords:
Status: NEW
Alias: CVE-2026-39856
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2456975 2456976
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-09 17:01 UTC by OSIDB Bzimport
Modified: 2026-04-09 18:22 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-09 17:01:45 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.


Note You need to log in before you can comment on or make changes to this bug.