
CVE catalog
CVE-2026-39855
osslsigncode is a tool that implements Authenticode signing and timestamping. Prior to 2.13, an integer underflow vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash comp
- 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 integer underflow vulnerability exists in osslsigncode version 2.12 and earlier in the PE page-hash computation code (pe_page_hash_calc()). When page hash processing is performed on a PE file, the function subtracts hdrsize from pagesize without first validating that pagesize >= hdrsize. If a malicious PE file sets SizeOfHeaders (hdrsize) larger than SectionAlignment (pagesize), the subtraction underflows and produces a very large unsigned length. The code allocates a zero-filled buffer of pagesize bytes and then attempts to hash pagesize - hdrsize bytes from that buffer. After the underflow, this results in an out-of-bounds read from the heap and can crash 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-39855 | 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/2a5409b7c4b6c6fad2b093531e8fea6cf08e1568]
- [https://github.com/mtrojnar/osslsigncode/releases/tag/2.13]
- [https://github.com/mtrojnar/osslsigncode/security/advisories/GHSA-76vv-x5rr-q3mr]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-39855]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-39855]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-39855]
- [https://security-tracker.debian.org/tracker/CVE-2026-39855]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39855.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]