USN-7225-1

Source
https://ubuntu.com/security/notices/USN-7225-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7225-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7225-1
Related
Published
2025-01-22T23:44:08.838173Z
Modified
2025-01-22T23:44:08.838173Z
Summary
HTMLDOC vulnerabilities
Details

It was discovered that HTMLDOC incorrectly handled memory in the imagesetmask, gitreadlzw, writeheader and writenode functions, which could lead to a heap buffer overflow. An attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2022-0137, CVE-2022-24191, CVE-2022-34033, CVE-2022-34035)

It was discovered that HTMLDOC incorrectly handled memory in the gifgetcode function, which could lead to a segmentation fault. If a user or application were tricked into opening a crafted GIF file, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2022-0534)

It was discovered that HTMLDOC did not perform proper bounds checks on image dimensions when loading JPEG images, which could lead to a buffer overflow. If a user or application were tricked into opening a crafted JPEG image, an attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-27114)

It was discovered that HTMLDOC incorrectly handled memory in the pdfwritenames function, which could lead to a heap buffer overflow. If a user or application were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or leak sensitive information. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-28085)

It was discovered that HTMLDOC could be made to write out of bounds when attempting to strip whitespace. An attacker could use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-45508)

It was discovered that HTMLDOC incorrectly handled memory in the parse_pre function, which could lead to a heap buffer overflow. If a user or application were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2024-46478)

References

Affected packages

Ubuntu:Pro:14.04:LTS / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/ubuntu/htmldoc@1.8.27-8ubuntu1+esm4?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.27-8ubuntu1+esm4

Affected versions

1.*

1.8.27-8ubuntu1
1.8.27-8ubuntu1+esm1
1.8.27-8ubuntu1+esm2
1.8.27-8ubuntu1+esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.8.27-8ubuntu1+esm4",
            "binary_name": "htmldoc"
        },
        {
            "binary_version": "1.8.27-8ubuntu1+esm4",
            "binary_name": "htmldoc-common"
        },
        {
            "binary_version": "1.8.27-8ubuntu1+esm4",
            "binary_name": "htmldoc-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/ubuntu/htmldoc@1.8.27-8ubuntu1.1+esm3?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.27-8ubuntu1.1+esm3

Affected versions

1.*

1.8.27-8ubuntu1
1.8.27-8ubuntu1.1
1.8.27-8ubuntu1.1+esm1
1.8.27-8ubuntu1.1+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.8.27-8ubuntu1.1+esm3",
            "binary_name": "htmldoc"
        },
        {
            "binary_version": "1.8.27-8ubuntu1.1+esm3",
            "binary_name": "htmldoc-common"
        },
        {
            "binary_version": "1.8.27-8ubuntu1.1+esm3",
            "binary_name": "htmldoc-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/ubuntu/htmldoc@1.9.2-1ubuntu0.2+esm2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.2-1ubuntu0.2+esm2

Affected versions

1.*

1.8.27-8ubuntu2
1.8.27-8ubuntu3
1.9.2-1
1.9.2-1ubuntu0.1
1.9.2-1ubuntu0.2
1.9.2-1ubuntu0.2+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.9.2-1ubuntu0.2+esm2",
            "binary_name": "htmldoc"
        },
        {
            "binary_version": "1.9.2-1ubuntu0.2+esm2",
            "binary_name": "htmldoc-common"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/ubuntu/htmldoc@1.9.7-1ubuntu0.3+esm2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.7-1ubuntu0.3+esm2

Affected versions

1.*

1.9.3-1
1.9.7-1
1.9.7-1build1
1.9.7-1ubuntu0.2
1.9.7-1ubuntu0.3
1.9.7-1ubuntu0.3+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.9.7-1ubuntu0.3+esm2",
            "binary_name": "htmldoc"
        },
        {
            "binary_version": "1.9.7-1ubuntu0.3+esm2",
            "binary_name": "htmldoc-common"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/ubuntu/htmldoc@1.9.15-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.15-1ubuntu0.1~esm1

Affected versions

1.*

1.9.11-4
1.9.12-1
1.9.13-1
1.9.14-1
1.9.15-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.9.15-1ubuntu0.1~esm1",
            "binary_name": "htmldoc"
        },
        {
            "binary_version": "1.9.15-1ubuntu0.1~esm1",
            "binary_name": "htmldoc-common"
        }
    ]
}

Ubuntu:24.10 / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/ubuntu/htmldoc@1.9.18-1ubuntu0.1?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.18-1ubuntu0.1

Affected versions

1.*

1.9.17-1build3
1.9.18-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.9.18-1ubuntu0.1",
            "binary_name": "htmldoc"
        },
        {
            "binary_version": "1.9.18-1ubuntu0.1",
            "binary_name": "htmldoc-common"
        }
    ]
}

Ubuntu:Pro:24.04:LTS / htmldoc

Package

Name
htmldoc
Purl
pkg:deb/ubuntu/htmldoc@1.9.17-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.17-1ubuntu0.1~esm1

Affected versions

1.*

1.9.16-1
1.9.17-1
1.9.17-1build2
1.9.17-1build3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.9.17-1ubuntu0.1~esm1",
            "binary_name": "htmldoc"
        },
        {
            "binary_version": "1.9.17-1ubuntu0.1~esm1",
            "binary_name": "htmldoc-common"
        }
    ]
}