Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents low-to-moderate real-world risk despite the moderate CVSS score of 5.5. The attack vector is local (AV:L) and requires user interaction (UI:R), meaning an attacker must convince a user to sign or verify a malicious PE file. The impact is restricted to availability (denial of service via crash); there is no confidentiality or integrity impact-the out-of-bounds read does not leak sensitive data or enable code execution. The CVSS vector (PR:N/AC:L) indicates no authentication is required once the user has local file access, and the attack complexity is low. EPSS data is not provided, but the exploitation probability is likely low given the requirement for user interaction and the limit to denial of service. KEV status is not indicated, and no public exploit code has been identified. SSVC framework assessment: exploitation status is unproven, the attack is not automatable (requires crafted file + user action), and the technical impact is denial of service only. This is a quality-of-service fix rather than a critical security priority, but should be applied promptly by osslsigncode users, especially those processing untrusted PE files. |
| Exploit ScenarioDerived | A developer receives a seemingly legitimate Windows executable from a third-party source or downloads it from a compromised repository. The developer's build system automatically signs all binaries using osslsigncode with page hashing enabled (-ph flag). An attacker crafts a PE file with section headers where PointerToRawData and SizeOfRawData reference regions beyond the file's actual size. When osslsigncode processes the file, the pe_page_hash_calc() function attempts to read from the invalid memory region, triggering a segmentation fault and crashing the signing tool, disrupting the build pipeline. Alternatively, a user receives an already-signed PE file with embedded malicious page hashes and attempts to verify its signature using osslsigncode without the -ph flag; the verification process still performs page-hash validation, crashes, and denies service to the verification operation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 09, 2026
Out-of-bounds read in osslsigncode versions 2.12 and earlier allows local attackers to crash the application via crafted PE files with malicious section headers during page-hash computation. The vulnerability exists in the pe_page_hash_calc() function, which fails to validate that section headers' PointerToRawData and SizeOfRawData values reference valid file regions. An attacker can trigger the flaw by providing a malicious PE file for signing with page hashing enabled (-ph flag) or by providing an already-signed malicious PE file for verification, where verification does not require the -ph flag. CVSS 5.5 with high availability impact; no public exploit identified at time of analysis.
RemediationAI
Upgrade osslsigncode to version 2.13 or later, which includes a fix to validate section header boundaries before reading PE data (commit 92f8761b4770f76a36731969b5040ce3b9a09570 in the official repository). Users should download the patched release from https://github.com/mtrojnar/osslsigncode/releases/tag/2.13. No workaround is available for users unable to upgrade immediately; however, the risk can be partially mitigated by restricting file signing operations to trusted PE files and avoiding the processing of PE files from untrusted sources. Users should also review any CI/CD pipelines that automatically process and sign binaries to ensure they validate input files for correctness before passing them to osslsigncode. For additional details, consult the GitHub security advisory at https://github.com/mtrojnar/osslsigncode/security/advisories/GHSA-rjrx-chvw-8jw8.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
osslsigncode is a command-line tool for Authenticode signing and timestamping of Windows PE (Portable Executable) files. The vulnerability resides in the pe_page_hash_calc() function, which computes page hashes as part of the PE signing process. PE files contain section headers with PointerToRawData (file offset) and SizeOfRawData (size in file) fields. The vulnerable code reads from these offsets without validating that the specified region lies entirely within the mapped file boundaries. The root cause is CWE-125 (Out-of-bounds Read), a classic memory safety flaw where the application reads beyond allocated or mapped memory. When a section header points beyond the file end, subsequent memory access attempts read from unmapped or uninitialized memory regions, triggering a crash. The flaw affects all versions of osslsigncode up to 2.12 (cpe:2.3:a:mtrojnar:osslsigncode:*:*:*:*:*:*:*:*), which uses OpenSSL and PKCS#7 for Authenticode operations.
Know when Osslsigncode gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-20946
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB