Read the docs
TI-2021-14578 Aliases CVE-2021-36159GHSA-cqp5-89fm-vp89

libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles…

Priority MEDIUM 44CWE-125Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles numeric strings for the FTP and HTTP protocols. The FTP passive mode implementation allows an out-of-bounds read because strtol is used to parse the relevant numbers into address bytes. It does not check if the line ends prematurely. If it does, the for-loop condition checks for the '\0' terminator one byte too late.

Why it matters now

EPSS 0.02637 85th percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:freebsd:libfetch:*:*:*:*:*:*:*:*before 2021-07-26VulnerableFreeBSD
  • cpe:2.3:a:freebsd:libfetch:*:*:*:*:*:*:*:* Versions before 2021-07-26 Vulnerable ·FreeBSD

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-36159
  2. 2026-10-03 Alias added: GHSA-cqp5-89fm-vp89

References

Sources