UBUNTU-CVE-2021-46312

Source
https://ubuntu.com/security/CVE-2021-46312
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46312.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-46312
Upstream
Published
2023-08-22T19:16:00Z
Modified
2025-10-24T04:50:40Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

References

Affected packages

Ubuntu:18.04:LTS

djvulibre

Package

Name
djvulibre
Purl
pkg:deb/ubuntu/djvulibre@3.5.27.1-8ubuntu0.4?arch=source&distro=bionic

Affected ranges

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

Affected versions

3.*

3.5.27.1-7
3.5.27.1-8
3.5.27.1-8ubuntu0.1
3.5.27.1-8ubuntu0.2
3.5.27.1-8ubuntu0.3
3.5.27.1-8ubuntu0.4

Ecosystem specific

{
    "priority_reason": "Only a crash in an image parser",
    "binaries": [
        {
            "binary_name": "djview",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        },
        {
            "binary_name": "djview3",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        },
        {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        },
        {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        },
        {
            "binary_name": "djvuserve",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        },
        {
            "binary_name": "libdjvulibre-dev",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        },
        {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        },
        {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.27.1-8ubuntu0.4"
        }
    ]
}

Ubuntu:20.04:LTS

djvulibre

Package

Name
djvulibre
Purl
pkg:deb/ubuntu/djvulibre@3.5.27.1-14ubuntu0.1?arch=source&distro=focal

Affected ranges

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

Affected versions

3.*

3.5.27.1-13
3.5.27.1-13ubuntu1
3.5.27.1-14
3.5.27.1-14build1
3.5.27.1-14ubuntu0.1

Ecosystem specific

{
    "priority_reason": "Only a crash in an image parser",
    "binaries": [
        {
            "binary_name": "djview",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        },
        {
            "binary_name": "djview3",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        },
        {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        },
        {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        },
        {
            "binary_name": "djvuserve",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        },
        {
            "binary_name": "libdjvulibre-dev",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        },
        {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        },
        {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.27.1-14ubuntu0.1"
        }
    ]
}

Ubuntu:22.04:LTS

djvulibre

Package

Name
djvulibre
Purl
pkg:deb/ubuntu/djvulibre@3.5.28-2ubuntu0.22.04.1?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*

3.5.28-2build1
3.5.28-2build2
3.5.28-2ubuntu0.22.04.1

Ecosystem specific

{
    "priority_reason": "Only a crash in an image parser",
    "binaries": [
        {
            "binary_name": "djview",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        },
        {
            "binary_name": "djview3",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        },
        {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        },
        {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        },
        {
            "binary_name": "djvuserve",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        },
        {
            "binary_name": "libdjvulibre-dev",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        },
        {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        },
        {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.28-2ubuntu0.22.04.1"
        }
    ]
}

Ubuntu:24.04:LTS

djvulibre

Package

Name
djvulibre
Purl
pkg:deb/ubuntu/djvulibre@3.5.28-2ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

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

Affected versions

3.*

3.5.28-2build3
3.5.28-2build4
3.5.28-2ubuntu0.24.04.1

Ecosystem specific

{
    "priority_reason": "Only a crash in an image parser",
    "binaries": [
        {
            "binary_name": "djview",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        },
        {
            "binary_name": "djview3",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        },
        {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        },
        {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        },
        {
            "binary_name": "djvuserve",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        },
        {
            "binary_name": "libdjvulibre-dev",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        },
        {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        },
        {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.28-2ubuntu0.24.04.1"
        }
    ]
}

Ubuntu:25.04

djvulibre

Package

Name
djvulibre
Purl
pkg:deb/ubuntu/djvulibre@3.5.28-2ubuntu0.25.04.1?arch=source&distro=plucky

Affected ranges

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

Affected versions

3.*

3.5.28-2build4
3.5.28-2ubuntu0.25.04.1

Ecosystem specific

{
    "priority_reason": "Only a crash in an image parser",
    "binaries": [
        {
            "binary_name": "djview",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        },
        {
            "binary_name": "djview3",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        },
        {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        },
        {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        },
        {
            "binary_name": "djvuserve",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        },
        {
            "binary_name": "libdjvulibre-dev",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        },
        {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        },
        {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.28-2ubuntu0.25.04.1"
        }
    ]
}

Ubuntu:25.10

djvulibre

Package

Name
djvulibre
Purl
pkg:deb/ubuntu/djvulibre@3.5.28-2.2?arch=source&distro=questing

Affected ranges

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

Affected versions

3.*

3.5.28-2build4
3.5.28-2.1
3.5.28-2.2

Ecosystem specific

{
    "priority_reason": "Only a crash in an image parser",
    "binaries": [
        {
            "binary_name": "djview",
            "binary_version": "3.5.28-2.2"
        },
        {
            "binary_name": "djview3",
            "binary_version": "3.5.28-2.2"
        },
        {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.28-2.2"
        },
        {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.28-2.2"
        },
        {
            "binary_name": "djvuserve",
            "binary_version": "3.5.28-2.2"
        },
        {
            "binary_name": "libdjvulibre-dev",
            "binary_version": "3.5.28-2.2"
        },
        {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.28-2.2"
        },
        {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.28-2.2"
        }
    ]
}

Ubuntu:Pro:16.04:LTS

djvulibre

Package

Name
djvulibre
Purl
pkg:deb/ubuntu/djvulibre@3.5.27.1-5ubuntu0.1+esm2?arch=source&distro=esm-infra/xenial

Affected ranges

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

Affected versions

3.*

3.5.27.1-3
3.5.27.1-4
3.5.27.1-5
3.5.27.1-5ubuntu0.1
3.5.27.1-5ubuntu0.1+esm1
3.5.27.1-5ubuntu0.1+esm2

Ecosystem specific

{
    "priority_reason": "Only a crash in an image parser",
    "binaries": [
        {
            "binary_name": "djview",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        },
        {
            "binary_name": "djview3",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        },
        {
            "binary_name": "djvulibre-bin",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        },
        {
            "binary_name": "djvulibre-desktop",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        },
        {
            "binary_name": "djvuserve",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        },
        {
            "binary_name": "libdjvulibre-dev",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        },
        {
            "binary_name": "libdjvulibre-text",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        },
        {
            "binary_name": "libdjvulibre21",
            "binary_version": "3.5.27.1-5ubuntu0.1+esm2"
        }
    ]
}