
CVE catalog
CVE-2026-39853
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. Durin
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | osslsigncode | sid | 2.14-1 | fixed |
| Debian | osslsigncode | forky | 2.14-1 | fixed |
| Debian | osslsigncode | trixie | 2.9-2 | vulnerable |
| Debian | osslsigncode | bookworm | 2.5-4 | vulnerable |
| Cpe | osslsigncode | Not reported | Not reported | vulnerable |
| Cpe | osslsigncode | Not reported | 2.12 | fixed |
| Ubuntu | osslsigncode | 16.04 | 1.7.1-1 | vulnerable |
| Ubuntu | osslsigncode | 18.04 | 1.7.1-2build1 | vulnerable |
| Ubuntu | osslsigncode | 18.04 | 1.7.1-2ubuntu1 | vulnerable |
| Ubuntu | osslsigncode | 18.04 | 1.7.1-3 | vulnerable |
| Ubuntu | osslsigncode | 20.04 | 2.0-1 | vulnerable |
| Ubuntu | osslsigncode | 22.04 | 2.1-1 | vulnerable |
| Ubuntu | osslsigncode | 22.04 | 2.2-1ubuntu1 | vulnerable |
| Ubuntu | osslsigncode | 24.04 | 2.5-4 | vulnerable |
| Ubuntu | osslsigncode | 24.04 | 2.8-2 | vulnerable |
| Ubuntu | osslsigncode | 25.10 | 2.9-2 | vulnerable |
| Cpe | osslsigncode | Not reported | 2.12 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | osslsigncode | source | sid | 2.12-1 | not yet assigned | Not reported | Not reported |
| Debian | osslsigncode | source | forky | 2.12-1 | not yet assigned | Not reported | Not reported |
| Debian | osslsigncode | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | osslsigncode | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | osslsigncode | cpe | Not reported | 2.12 | Not reported | Not reported | Not reported |
| Cpe | osslsigncode | cpe | Not reported | 2.12 | Not reported | NVD-CVE-2026-39853 | Not reported |
Notes
[trixie] osslsigncode: Minor issue [bookworm] osslsigncode: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [osslsigncode]Affected
Details (4)
2.5-4· amd64 · bookwormAffected
nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12
2.5-4· arm64 · bookwormAffected
nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12
2.9-1~bpo12+1· amd64 · bookworm-backportsAffected
nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12
2.9-1~bpo12+1· arm64 · bookworm-backportsAffected
nvd · osslsigncode · debian · bookworm; nvd · osslsigncode · debian · 12
[Debian 13 (Trixie)]
- [osslsigncode]Affected
Details (2)
2.9-2· amd64 · trixieAffected
nvd · osslsigncode · debian · 13
2.9-2· arm64 · trixieAffected
nvd · osslsigncode · debian · 13
Observed:
References
- [https://github.com/mtrojnar/osslsigncode/commit/cbee1e723c5a8547302bd841ad9943ed8144db68]
- [https://github.com/mtrojnar/osslsigncode/releases/tag/2.12]
- [https://github.com/mtrojnar/osslsigncode/security/advisories/GHSA-hx87-8754-xvh4]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-39853]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-39853]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-39853]
- [https://security-tracker.debian.org/tracker/CVE-2026-39853]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39853.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]