CVEfocus › CVE database › CVE-2026-39853

CVE-2026-39853osslsigncode has a Stack Buffer Overflow via Unbounded Digest Copy During Signature…

CVSS 7.8 HighEPSS 0.2% (higher than 9% of CVEs)Published 2026-04-09Updated 2026-04-09Assigner: GitHub_M

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.

CWE-121CWE-787

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
5Fix pending
2Under investigation
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04osslsigncodeNot affected
vulnerable_code_not_present
Ubuntu 25.10osslsigncodeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-39853
Ubuntu 24.04osslsigncodeUnder investigationUBUNTU-CVE-2026-39853
Ubuntu 22.04osslsigncodeUnder investigationUBUNTU-CVE-2026-39853
Ubuntu 20.04osslsigncodeFix pendingUBUNTU-CVE-2026-39853
Ubuntu 18.04osslsigncodeFix pendingUBUNTU-CVE-2026-39853
Ubuntu 16.04osslsigncodeFix pendingUBUNTU-CVE-2026-39853
Debian 14osslsigncodeFixed2.12-1DEBIAN-CVE-2026-39853
Debian 13osslsigncodeFix pendingDEBIAN-CVE-2026-39853
Debian 12osslsigncodeFix pendingDEBIAN-CVE-2026-39853

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.