UBUNTU-CVE-2018-7186

Source
https://ubuntu.com/security/CVE-2018-7186
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7186.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-7186
Related
Published
2018-02-16T16:29:00Z
Modified
2025-01-13T10:21:35Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string, as demonstrated by the gplotRead and ptaReadStream functions.

References

Affected packages

Ubuntu:Pro:14.04:LTS / leptonlib

Package

Name
leptonlib
Purl
pkg:deb/ubuntu/leptonlib@1.70.1-1ubuntu0.1~esm1?arch=source&distro=trusty/esm

Affected ranges

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

Affected versions

1.*

1.69-4ubuntu1
1.69-4ubuntu2
1.69-4ubuntu3
1.69-4ubuntu4
1.70.1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.70.1-1ubuntu0.1~esm1",
            "binary_name": "leptonica-progs"
        },
        {
            "binary_version": "1.70.1-1ubuntu0.1~esm1",
            "binary_name": "leptonica-progs-dbgsym"
        },
        {
            "binary_version": "1.70.1-1ubuntu0.1~esm1",
            "binary_name": "liblept4"
        },
        {
            "binary_version": "1.70.1-1ubuntu0.1~esm1",
            "binary_name": "liblept4-dbgsym"
        },
        {
            "binary_version": "1.70.1-1ubuntu0.1~esm1",
            "binary_name": "libleptonica-dev"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / leptonlib

Package

Name
leptonlib
Purl
pkg:deb/ubuntu/leptonlib@1.73-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.72-3
1.72-3build1
1.73-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.73-1ubuntu0.1~esm1",
            "binary_name": "leptonica-progs"
        },
        {
            "binary_version": "1.73-1ubuntu0.1~esm1",
            "binary_name": "leptonica-progs-dbgsym"
        },
        {
            "binary_version": "1.73-1ubuntu0.1~esm1",
            "binary_name": "liblept5"
        },
        {
            "binary_version": "1.73-1ubuntu0.1~esm1",
            "binary_name": "liblept5-dbgsym"
        },
        {
            "binary_version": "1.73-1ubuntu0.1~esm1",
            "binary_name": "libleptonica-dev"
        }
    ]
}

Ubuntu:18.04:LTS / leptonlib

Package

Name
leptonlib
Purl
pkg:deb/ubuntu/leptonlib@1.75.3-2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.75.3-2

Affected versions

1.*

1.74.4-1
1.74.4-2
1.75.3-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.75.3-2",
            "binary_name": "leptonica-progs"
        },
        {
            "binary_version": "1.75.3-2",
            "binary_name": "leptonica-progs-dbgsym"
        },
        {
            "binary_version": "1.75.3-2",
            "binary_name": "liblept5"
        },
        {
            "binary_version": "1.75.3-2",
            "binary_name": "liblept5-dbgsym"
        },
        {
            "binary_version": "1.75.3-2",
            "binary_name": "libleptonica-dev"
        }
    ]
}