CVE-2020-13790

Source
https://cve.org/CVERecord?id=CVE-2020-13790
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13790.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-13790
Downstream
Related
Published
2020-06-03T19:15:10.817Z
Modified
2026-07-08T20:30:26.179749Z
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
Database specific
{
    "cpe": "cpe:2.3:a:libjpeg-turbo:libjpeg-turbo:2.0.4:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.0.4"
        },
        {
            "last_affected": "2.0.4"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.0.4

Database specific

vanir_signatures
[
    {
        "source": "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a",
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "279960956856796919083660656941318470986",
                "339143231265080250257308579932503053796",
                "131917594966023431801087663642952665251",
                "156807076211336174187134914508724087246",
                "333061502291305840284261457804340431451"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2020-13790-4163c7b5",
        "target": {
            "file": "rdppm.c"
        }
    },
    {
        "source": "https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a",
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "100417613708608266563647517534113762204",
            "length": 4668.0
        },
        "deprecated": false,
        "id": "CVE-2020-13790-ae5bae3c",
        "target": {
            "function": "start_input_ppm",
            "file": "rdppm.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T20:30:26Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13790.json"

Git / github.com/mozilla/mozjpeg

Affected ranges

Type
GIT
Repo
https://github.com/mozilla/mozjpeg
Events
Database specific
{
    "cpe": "cpe:2.3:a:mozilla:mozjpeg:4.0.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "4.0.0"
        },
        {
            "last_affected": "4.0.0"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

4.*
4.0.0
v4.*
v4.0.0
v4.0.1-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13790.json"