CVE-2019-20387
repodata_schema2id in repodata.c in libsolv before 0.7.6 has a heap-based buffer over-read via a...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2019-20387- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2019-20387- Updated
- 2026-11-02
EUVDEUVD-2019-10939 No score
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.
- Record
EUVD-2019-10939- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vvx2-pj87-xmpx
7.5
repodata_schema2id in repodata.c in libsolv before 0.7.6 has a heap-based buffer over-read via a...
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.
- Record
GHSA-vvx2-pj87-xmpx- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2019-20387- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-20387
7.5
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.
- Record
DEBIAN-CVE-2019-20387- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVRHSA-2020:4508
7.5
Red Hat Security Advisory: libsolv security, bug fix, and enhancement update
- Record
RHSA-2020:4508- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-20387
7.5
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.
- Record
UBUNTU-CVE-2019-20387- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2020-0117 No score
Updated libsolv packages fix security vulnerability
Updated libsolv packages fix security vulnerability:
An out-of-bounds read was discovered in libsolv when the last schema has a length that is less than the length of the input schema. A remote attacker may abuse this flaw to crash an application that uses libsolv (CVE-2019-20387).
- Record
MGASA-2020-0117- Updated
- 2026-11-02
OSVSUSE-SU-2021:2145-1 No score
Security update for libsolv
This update for libsolv fixes the following issues:
Security issues fixed:
- CVE-2019-20387: Fixed heap-buffer-overflow in repodata_schema2id (bsc#1161510)
- CVE-2021-3200: testcase_read: error out if repos are added or the system is changed too late (bsc#1186229)
Other issues fixed:
- backport support for blacklisted packages to support ptf packages and retracted patches
- fix ruleinfo of complex dependencies returning the wrong origin
- fix SOLVER_FLAG_FOCUS_BEST updateing packages without reason
- fix add_complex_recommends() selecting conflicted packages in rare cases
- fix potential segfault in resolve_jobrules
- fix solv_zchunk decoding error if large chunks are used
- Record
SUSE-SU-2021:2145-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2180-1 No score
Security update for libsolv
This update for libsolv fixes the following issues:
Security issues fixed:
- CVE-2019-20387: Fixed heap-buffer-overflow in repodata_schema2id (bsc#1161510)
- CVE-2021-3200: testcase_read: error out if repos are added or the system is changed too late (bsc#1186229)
Other issues fixed:
- backport support for blacklisted packages to support ptf packages and retracted patches
- fix ruleinfo of complex dependencies returning the wrong origin
- fix SOLVER_FLAG_FOCUS_BEST updateing packages without reason
- fix add_complex_recommends() selecting conflicted packages in rare cases
- fix potential segfault in resolve_jobrules
- fix solv_zchunk decoding error if large chunks are used
- Record
SUSE-SU-2021:2180-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libsolvDebian:12 |
before 0.6.36-2 | 0.6.36-2 |
libsolvDebian:13 |
before 0.6.36-2 | 0.6.36-2 |
libsolvDebian:14 |
before 0.6.36-2 | 0.6.36-2 |
libsolvDebian:8 |
before 0.6.5-1+deb8u1, plus listed versions 0.6.5-1 |
0.6.5-1+deb8u1 |
libsolvMageia:7 |
before 0.7.4-1.1.mga7 | 0.7.4-1.1.mga7 |
libsolvRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
libsolv-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
libsolv-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
libsolv-demo-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
libsolv-tools-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
Show 34 moreShow less
| Package | Affected | Fixed |
|---|---|---|
perl-solv-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
python3-solvRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
python3-solv-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
ruby-solv-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:0.7.11-1.el8 | 0:0.7.11-1.el8 |
libsolvSUSE:Linux Enterprise Server 12 SP2-BCL |
before 0.6.37-2.27.24.1 | 0.6.37-2.27.24.1 |
libzyppSUSE:Linux Enterprise Server 12 SP2-BCL |
before 16.21.4-27.75.1 | 16.21.4-27.75.1 |
libsolvSUSE:HPE Helion OpenStack 8 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:HPE Helion OpenStack 8 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:OpenStack Cloud 8 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:OpenStack Cloud 8 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:OpenStack Cloud 9 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:OpenStack Cloud 9 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:OpenStack Cloud Crowbar 8 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:OpenStack Cloud Crowbar 8 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:OpenStack Cloud Crowbar 9 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:OpenStack Cloud Crowbar 9 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Server 12 SP3-BCL |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Server 12 SP3-BCL |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Server 12 SP5 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Server 12 SP5 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 0.6.37-2.33.1 | 0.6.37-2.33.1 |
libzyppSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 16.21.4-2.51.1 | 16.21.4-2.51.1 |
libsolvUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 0.6.11-10.6.11-1build10.6.11-1.10.6.11-1.1ubuntu0.1~esm1 |
None known |
libsolvUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 0.6.28-2build10.6.30-1build10.6.30-1ubuntu0.1~esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-20387 is a high vulnerability (CVSS 7.5) in Opensuse Libsolv, published January 21, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.34%, the 83rd percentile. Fixed in libsolv 0.6.36-2.
References
github.com/openSUSE/libsolv/commit/fdb9c9c03508990e4583046b590c30d958f272da
github.com/openSUSE/libsolv/compare/0.7.5...0.7.6
lists.debian.org/debian-lts-announce/2020/01/msg00034.html
nvd.nist.gov/vuln/detail/CVE-2019-20387
github.com/advisories/GHSA-vvx2-pj87-xmpx
security-tracker.debian.org/tracker/CVE-2019-20387
Show 18 moreShow less
advisories.mageia.org/MGASA-2020-0117.html
bugs.mageia.org/show_bug.cgi?id=26163
bugzilla.redhat.com/show_bug.cgi?id=1797072
access.redhat.com/errata/RHSA-2020:4508
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.3_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1796536
bugzilla.redhat.com/show_bug.cgi?id=1809106
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_4508.json
access.redhat.com/security/cve/CVE-2019-20387
cve.org/CVERecord?id=CVE-2019-20387
suse.com/support/update/announcement/2021/suse-su-20212145-1
bugzilla.suse.com/1161510
bugzilla.suse.com/1186229
suse.com/security/cve/CVE-2019-20387
suse.com/security/cve/CVE-2021-3200
suse.com/support/update/announcement/2021/suse-su-20212180-1
ubuntu.com/security/CVE-2019-20387