CVE-2019-20387

Source
https://cve.org/CVERecord?id=CVE-2019-20387
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20387.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-20387
Downstream
DEBIAN (1)
MGASA (1)
RHSA (1)
SUSE (2)
UBUNTU (1)
Related
Published
2020-01-21T23:15:13Z
Modified
2026-08-18T13:15:44Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

repodata_schema2id in repodata.c in libsolv before 0.7.6 has a heap-based buffer over-read via a last schema whose length is less than the length of the input schema.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/opensuse/libsolv

Affected ranges

Type
GIT
Repo
https://github.com/opensuse/libsolv
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:opensuse:libsolv:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "0.7.6"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.6.10
0.6.11
0.6.12
0.6.13
0.6.14
0.6.15
0.6.16
0.6.17
0.6.18
0.6.19
0.6.20
0.6.21
0.6.22
0.6.23
0.6.24
0.6.25
0.6.26
0.6.27
0.6.28
0.6.29
0.6.30
0.6.31
0.6.32
0.6.33
0.6.34
0.6.35
0.6.4
0.6.5
0.6.6
0.6.7
0.6.8
0.6.9
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
Other
BASE-SuSE-Code-12_1-Branch
BASE-SuSE-Code-12_2-Branch
BASE-SuSE-Code-12_3-Branch
BASE-SuSE-Code-13_1-Branch

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-20387.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "4899277101288193706485005846420497178",
            "length":  1697
        },
        "id":  "CVE-2019-20387-14be743e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/opensuse/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da",
        "target":  {
            "file":  "src/repodata.c",
            "function":  "repodata_schema2id"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "272047716795212802441097868574234895908",
                "37400958923676777071933101271582289650",
                "265341671384809898946922769719777125133",
                "53443162342254653955672112058005017995",
                "278243617184913516167546565061182609866",
                "23330873008043240081292770275914080789",
                "260254168737727559623885259626174947827"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2019-20387-2b36464b",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/opensuse/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da",
        "target":  {
            "file":  "src/repodata.c"
        }
    }
]
vanir_signatures_modified
"2026-08-18T13:15:44Z"