CVE-2018-20820

Source
https://cve.org/CVERecord?id=CVE-2018-20820
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20820.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20820
Published
2019-04-23T14:29:00Z
Modified
2026-07-08T16:40:39Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

read_ujpg in jpgcoder.cc in Dropbox Lepton 1.2.1 allows attackers to cause a denial-of-service (application runtime crash because of an integer overflow) via a crafted file.

References

Affected packages

Git / github.com/dropbox/lepton

Affected ranges

Type
GIT
Repo
https://github.com/dropbox/lepton
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:dropbox:lepton:1.2.1:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "1.2.1"
        },
        {
            "last_affected":  "1.2.1"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20820.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "291508219202119588538564923276176918018",
                "96625002947938835274224164320718089154",
                "213317746542680356999455718330753692033",
                "173290755242118722020160640458997264056"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2018-20820-7adfd9b9",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/dropbox/lepton/commit/6a5ceefac1162783fffd9506a3de39c85c725761",
        "target":  {
            "file":  "src/lepton/jpgcoder.cc"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "84036937326432341110227860591100513513",
            "length":  6577
        },
        "id":  "CVE-2018-20820-83a08037",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/dropbox/lepton/commit/6a5ceefac1162783fffd9506a3de39c85c725761",
        "target":  {
            "file":  "src/lepton/jpgcoder.cc",
            "function":  "read_ujpg"
        }
    }
]
vanir_signatures_modified
"2026-07-08T16:40:39Z"