
CVE catalog
CVE-2026-39856
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 com
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.14% · Oct 25, 2026
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.
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.13 | 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.13 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | osslsigncode | source | sid | 2.13-1 | not yet assigned | Not reported | Not reported |
| Debian | osslsigncode | source | forky | 2.13-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.13 | Not reported | Not reported | Not reported |
| Cpe | osslsigncode | cpe | Not reported | 2.13 | Not reported | NVD-CVE-2026-39856 | 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/92f8761b4770f76a36731969b5040ce3b9a09570]
- [https://github.com/mtrojnar/osslsigncode/releases/tag/2.13]
- [https://github.com/mtrojnar/osslsigncode/security/advisories/GHSA-rjrx-chvw-8jw8]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-39856]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-39856]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-39856]
- [https://security-tracker.debian.org/tracker/CVE-2026-39856]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39856.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]