Skip to content
Fencer Vulns
low 3.3

CVE-2021-3200 json

Buffer overflow vulnerability in libsolv 2020-12-13 via the Solver * testcase_read(Pool *pool, FILE *fp, const char *testcase, Queue *job,…

published 2021-05-18 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-26540

cvss
3.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 70%
public exploits
0
none known

Summary

Buffer overflow vulnerability in libsolv 2020-12-13 via the Solver * testcase_read(Pool *pool, FILE *fp, const char *testcase, Queue *job, char **resultp, int *resultflagsp function at src/testcase.c: line 2334, which could cause a denial of service

Patch / fix

  • opensuse libsolv 0.7.17
  • libsolv Debian 14, Debian 13, Debian 12 0.7.17-1

debian advisories DEBIAN-CVE-2021-3200

  • foreman satellite utils 6.11, satellite capsule 6.11, satellite 6.11 3.1.1.21-2.el7sat
  • foreman satellite utils 6.11, satellite capsule 6.11, satellite 6.11 3.1.1.21-2.el8sat
  • libsolv satellite capsule 6.11, satellite 6.11 0.7.22-1.el7pc
  • libsolv satellite capsule 6.11, satellite 6.11 0.7.22-1.el8pc
  • candlepin satellite 6.11 4.1.13-1.el7sat
  • candlepin satellite 6.11 4.1.13-1.el8sat
  • satellite satellite utils 6.11, satellite capsule 6.11, satellite 6.11 6.11.0-2.el7sat
  • satellite satellite utils 6.11, satellite capsule 6.11, satellite 6.11 6.11.0-2.el8sat

red hat advisories RHSA-2022:5498RHSA-2021:4408

  • libsolv SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +10 more 0.6.37-2.33.1
  • libzypp SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +10 more 16.21.4-2.51.1
  • libsolv SLES 12 SP2-BCL 0.6.37-2.27.24.1
  • libzypp SLES 12 SP2-BCL 16.21.4-27.75.1

suse advisories SUSE-SU-2021:2180-1SUSE-SU-2021:2145-1

  • libsolv-tools AlmaLinux 8 0.7.19-1.el8

almalinux advisories ALSA-2021:4408

  • libdb Rocky Linux 8 5.3.28-42.el8_4
  • libsolv Rocky Linux 8 0.7.19-1.el8

rocky linux advisories RLSA-2022:5498RLSA-2021:4408

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-3200 updated cvss 3.3

libsolv: heap-based buffer overflow in testcase_read() in src/testcase.c

  • Red Hat Ansible Automation Platform 1.2 libsolv
    affected: no fix available
  • Red Hat Enterprise Linux 7 libsolv, libsolv-demo, python2-solv, libsolv-tools
    affected: no fix planned “Out of support scope”
  • Red Hat Update Infrastructure 3 for Cloud Providers libsolv
    affected: no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder (v. 8) libsolv-tools 0.7.19-1.el8 Red Hat Enterprise Linux BaseOS (v. 8) libsolv 0.7.19-1.el8, python3-solv 0.7.19-1.el8
    fixed: vendor fix RHSA-2021:4408
  • Red Hat Satellite 6.11 for RHEL 7 libsolv 0.7.22-1.el7pc Red Hat Satellite 6.11 for RHEL 8 libsolv 0.7.22-1.el8pc
    fixed: vendor fix RHSA-2022:5498
  • Red Hat Enterprise Linux 9 libsolv, python3-solv, libsolv-tools Red Hat Satellite 6.11 for RHEL 7 tfm 7.0-1.el7sat, gofer 2.12.5-7.el7sat, katello 4.3.0-3.el7sat, libcomps 0.1.18-1.el7pc, libsolv0 0.6.34-4.el7sat, python-qpid 1.35.0-5.el7, +637 more Red Hat Satellite 6.11 for RHEL 8 libdb 5.3.28-42.el8_4, katello 4.3.0-3.el8sat, libcomps 0.1.18-1.el8pc, python-idna 3.3-1.el8pc, python-pbr 5.6.0-1.el8pc, python-qpid 1.37.0-1.el8, +628 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/openSUSE/libsolv/issues/416 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/yangjiageng/PoC/blob/master/libsolv-PoCs/PoC-testcase_read-2334 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 3.3 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.