UBUNTU-CVE-2026-39855

Source
https://ubuntu.com/security/CVE-2026-39855
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39855.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-39855
Upstream
Published
2026-04-09T17:16:00Z
Modified
2026-04-16T09:13:14Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:16.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@1.7.1-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "1.7.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39855.json"
Ubuntu:18.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@1.7.1-3?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.1-2build1
1.7.1-2ubuntu1
1.7.1-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "1.7.1-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39855.json"
Ubuntu:20.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.0-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39855.json"
Ubuntu:22.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.2-1ubuntu1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1-1
2.2-1ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.2-1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39855.json"
Ubuntu:24.04:LTS
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.8-2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.5-4
2.8-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.8-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39855.json"
Ubuntu:25.10
osslsigncode

Package

Name
osslsigncode
Purl
pkg:deb/ubuntu/osslsigncode@2.9-2?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.9-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "osslsigncode",
            "binary_version": "2.9-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39855.json"