CVE-2020-13790

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-13790
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-13790.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-13790
Downstream
Related
Published
2020-06-03T19:15:10Z
Modified
2025-10-22T08:31:39.717246Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

libjpeg-turbo 2.0.4, and mozjpeg 4.0.0, has a heap-based buffer over-read in getrgbrow() in rdppm.c via a malformed PPM input file.

References

Affected packages

Git / github.com/libjpeg-turbo/libjpeg-turbo

Affected ranges

Type
GIT
Repo
https://github.com/libjpeg-turbo/libjpeg-turbo
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.0.90
0.0.91
0.0.93

1.*

1.0.0
1.0.1
1.0.90
1.1.0
1.1.1
1.1.90
1.2.0
1.2.1
1.2.90
1.3.0
1.3.1
1.3.90
1.4.0
1.4.1
1.4.2
1.4.90
1.5.0
1.5.1
1.5.2
1.5.3
1.5.90

2.*

2.0.0
2.0.1
2.0.2
2.0.3
2.0.4

Other

jpeg-1
jpeg-2
jpeg-3
jpeg-4
jpeg-4a
jpeg-5
jpeg-5a
jpeg-5b
jpeg-6
jpeg-6a
jpeg-6b
jpeg-6bx
jpeg-7
jpeg-8
jpeg-8a
jpeg-8b
jpeg-8c
jpeg-8d
jpeg-9
jpeg-9a
jpeg-9b
jpeg-ari

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "279960956856796919083660656941318470986",
                "339143231265080250257308579932503053796",
                "131917594966023431801087663642952665251",
                "156807076211336174187134914508724087246",
                "333061502291305840284261457804340431451"
            ]
        },
        "target": {
            "file": "rdppm.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a",
        "id": "CVE-2020-13790-4163c7b5"
    },
    {
        "digest": {
            "function_hash": "100417613708608266563647517534113762204",
            "length": 4668.0
        },
        "target": {
            "function": "start_input_ppm",
            "file": "rdppm.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "source": "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a",
        "id": "CVE-2020-13790-ae5bae3c"
    }
]

Git / github.com/mozilla/mozjpeg

Affected ranges

Type
GIT
Repo
https://github.com/mozilla/mozjpeg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected