High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-20387
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:36 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-20387
Complete source record
{
"id": "5c0587b7b04ca68f797b0bdabc7cf2efcd82d66c52c41f089be2b3bd12271e40",
"url": "https://osv.dev/vulnerability/CVE-2019-20387",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-20387",
"summary": "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.",
"evidence": "osv:CVE-2019-20387",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-20387",
"aliases": [
"CVE-2019-20387"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/opensuse/libsolv",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "17ce4bc4fb52a0b32964f3b7d491c18177980be1"
},
{
"fixed": "fdb9c9c03508990e4583046b590c30d958f272da"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:opensuse:libsolv:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.7.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "fdb9c9c03508990e4583046b590c30d958f272da"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.7.5",
"0.7.4",
"0.7.3",
"0.7.2",
"0.7.1",
"0.7.0",
"0.6.35",
"0.6.34",
"0.6.33",
"0.6.32",
"0.6.31",
"0.6.30",
"0.6.29",
"0.6.28",
"0.6.27",
"0.6.26",
"0.6.25",
"0.6.24",
"0.6.23",
"0.6.22",
"0.6.21",
"0.6.20",
"0.6.19",
"0.6.18",
"0.6.17",
"0.6.16",
"0.6.15",
"0.6.14",
"0.6.13",
"0.6.12",
"0.6.11",
"0.6.10",
"0.6.9",
"0.6.8",
"0.6.7",
"0.6.6",
"0.6.5",
"0.6.4",
"BASE-SuSE-Code-13_1-Branch",
"BASE-SuSE-Code-12_3-Branch",
"BASE-SuSE-Code-12_2-Branch",
"BASE-SuSE-Code-12_1-Branch"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20387.json",
"vanir_signatures": [
{
"id": "CVE-2019-20387-14be743e",
"digest": {
"length": 1697,
"function_hash": "4899277101288193706485005846420497178"
},
"source": "https://github.com/opensuse/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da",
"target": {
"file": "src/repodata.c",
"function": "repodata_schema2id"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-20387-2b36464b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"272047716795212802441097868574234895908",
"37400958923676777071933101271582289650",
"265341671384809898946922769719777125133",
"53443162342254653955672112058005017995",
"278243617184913516167546565061182609866",
"23330873008043240081292770275914080789",
"260254168737727559623885259626174947827"
]
},
"source": "https://github.com/opensuse/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da",
"target": {
"file": "src/repodata.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:56:54Z"
}
}
],
"modified": "2026-10-20T13:56:54.938317775Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2020/01/msg00034.html",
"https://github.com/openSUSE/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da",
"https://github.com/openSUSE/libsolv/compare/0.7.5...0.7.6"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-20387",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388438,
"published_at": "2020-01-21T23:15:13.443+00:00"
}