CVEfocus › CVE database › CVE-2026-39855

CVE-2026-39855osslsigncode has an Integer Underflow in PE Page Hash Calculation Can Cause…

CVSS 5.5 MediumEPSS 0.2% (higher than 6% of CVEs)Published 2026-04-09Updated 2026-04-09Assigner: GitHub_M

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.

CWE-125CWE-190CWE-191

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-39855
Ubuntu 24.04osslsigncodeUnder investigationUBUNTU-CVE-2026-39855
Ubuntu 22.04osslsigncodeUnder investigationUBUNTU-CVE-2026-39855
Ubuntu 20.04osslsigncodeFix pendingUBUNTU-CVE-2026-39855
Ubuntu 18.04osslsigncodeFix pendingUBUNTU-CVE-2026-39855
Ubuntu 16.04osslsigncodeFix pendingUBUNTU-CVE-2026-39855
Debian 14osslsigncodeFixed2.13-1DEBIAN-CVE-2026-39855
Debian 13osslsigncodeFix pendingDEBIAN-CVE-2026-39855
Debian 12osslsigncodeFix pendingDEBIAN-CVE-2026-39855

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.