Skip to main content

Osslsigncode CVE-2026-39853

| EUVDEUVD-2026-20942 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-04-09 GitHub_M
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious signed file with oversized digest
  2. Exploit
    User opens file in osslsigncode
  3. Execution
    Stack buffer overflow in signature verification
  4. Impact
    Execute arbitrary code with user privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local attacker must craft a malicious signed PE, MSI, CAB, or script file and trick a user into opening/verifying it with osslsigncode versions prior to 2.12. Requires victim interaction to trigger signature verification on the malicious file.

Impact

Stack buffer overflow during unauthenticated signature verification affecting PE, MSI, CAB, and script files. Local attack vector requires user interaction to verify malicious file. High integrity and confidentiality impact via stack corruption enables code execution. Patch available in version 2.12; legacy deployments verifying untrusted signed files face real exploitation risk.

Exploit ScenarioDerived

Attacker crafts malicious signed file with oversized digest in SpcIndirectDataContent structure. User runs osslsigncode verify on file, triggering unbounded memcpy into 64-byte stack buffer, corrupting return address and achieving arbitrary code execution with user privileges.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Stack buffer overflow in osslsigncode <2.12 allows local attackers to execute arbitrary code during signature verification. The vulnerability affects PE, MSI, CAB, and script file verification handlers that copy digest values from SpcIndirectDataContent structures into fixed 64-byte stack buffers without length validation. Attackers craft malicious signed files with oversized digest fields triggering memcpy overflow when users verify files via osslsigncode verify command, corrupting stack state and enabling code execution with high confidentiality, integrity, and availability impact.

RemediationAI

Vendor-released patch: upgrade to osslsigncode 2.12 immediately via https://github.com/mtrojnar/osslsigncode/releases/tag/2.12. The fix commit cbee1e723c5a8547302bd841ad9943ed8144db68 implements digest length validation before memcpy operations. No workarounds exist; vulnerable versions should be replaced. Users must avoid verifying untrusted signed files with versions <2.12. Organizations using osslsigncode in automated verification pipelines should audit recent verification activity for potential exploitation attempts. Complete advisory at https://github.com/mtrojnar/osslsigncode/security/advisories/GHSA-hx87-8754-xvh4. CVSS 7.8 requires user interaction (UI:R) but no authentication (PR:N); exploitation occurs locally during verification operations.

Affected VersionsENISA

osslsigncode < 2.12

Affected Packages

euvd osslsigncode fix: 2.12

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

Root cause is unbounded memcpy from parsed PKCS#7 SpcIndirectDataContent digest to mdbuf[EVP_MAX_MD_SIZE] stack buffer (64 bytes) across multiple verification code paths. CWE-121 stack-based buffer overflow exploits missing bounds check on source digest length prior to memory copy operation, enabling stack corruption via crafted ASN.1 structures in signature metadata.

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 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
SUSE HIGH

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
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:00 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
2.12
CVE Published
Apr 09, 2026 - 15:50 nvd
HIGH 7.8

DescriptionCVE.org

osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.12, A stack buffer overflow vulnerability exists in osslsigncode in several signature verification paths. During verification of a PKCS#7 signature, the code copies the digest value from a parsed SpcIndirectDataContent structure into a fixed-size stack buffer (mdbuf[EVP_MAX_MD_SIZE], 64 bytes) without validating that the source length fits within the destination buffer. This pattern is present in the verification handlers for PE, MSI, CAB, and script files. An attacker can craft a malicious signed file with an oversized digest field in SpcIndirectDataContent. When a user verifies such a file with osslsigncode verify, the unbounded memcpy can overflow the stack buffer and corrupt adjacent stack state. This vulnerability is fixed in 2.12.

Executive ViewAI

Why It Matters

osslsigncode versions prior to 2.12 contain a stack buffer overflow vulnerability that allows local attackers to execute arbitrary code when verifying digitally signed files (PE, MSI, CAB, or scripts). Organizations using osslsigncode for file signature validation face risk of code execution if users process attacker-controlled signed files, potentially compromising system integrity and confidentiality.

Business Impact: High
Compensating Controls

Vendor-released patch: osslsigncode version 2.12 or later. If immediate patching is not feasible, restrict execution of osslsigncode verify command to trusted administrators only, disable automated file signature verification workflows, and implement file source controls to prevent processing of untrusted signed files.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

Related Vulnerabilities in osslsigncode Buffer Overflow and OOB Read

View all 3

Vendor StatusVendor

SUSE

Severity: High

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