Skip to main content

Osslsigncode EUVDEUVD-2026-20946

| CVE-2026-39856 MEDIUM
Out-of-bounds Read (CWE-125)
2026-04-09 GitHub_M
5.5
CVSS 3.1 · Vendor: GitHub_M
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

osslsigncode < 2.13

Affected Packages

euvd osslsigncode fix: 2.13

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

Vendor (GitHub_M) PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
SUSE MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
2.13
CVE Published
Apr 09, 2026 - 16:03 nvd
MEDIUM 5.5

DescriptionCVE.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

EPSS Score
0.0%
Top 96% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Related Vulnerabilities in osslsigncode Buffer Overflow and OOB Read

View all 3

Vendor StatusVendor

SUSE

Severity: Medium

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy