Skip to main content

Clamav: Heap-buffer-overflow in cli_strlcat

0
Medium
Published: 01/27/2022 (01/27/2022, 00:02:12 UTC)
Source: GCVE Database
Product: clamav

Description

A heap-buffer-overflow vulnerability was identified in the ClamAV antivirus software within the cli_strlcat function, as reported by OSS-Fuzz. The issue causes a write overflow on the heap, potentially leading to a crash during YARA rule parsing. No CVSS score or vendor patch information is provided, and no known exploits are reported in the wild. The affected versions include the commit e5f001c9ca4175beecd445004a8e01bbdd29579c and later. The severity is assessed as medium based on the available data.

Affected software

OSS-Fuzzmore threats →ghsa
clamav
pkg:generic/clamav
Affected versions
>=e5f001c9ca4175beecd445004a8e01bbdd29579c=clamav-0.105.0-rc=clamav-0.105.0-rc2=clamav-0.104.3=clamav-0.105.0=clamav-0.104.4=clamav-0.105.1=clamav-0.105.2=clamav-1.0.0=clamav-1.0.0-rc=clamav-1.0.0-rc2=clamav-1.0.1=clamav-1.1.0-rc=clamav-1.1.0=clamav-1.2.0-rc=clamav-1.0.2=clamav-1.1.1=clamav-1.0.3=clamav-1.1.2=clamav-1.2.0=clamav-1.0.4=clamav-1.1.3=clamav-1.2.1=clamav-1.3.0-rc=clamav-1.3.0-rc2=clamav-1.0.5=clamav-1.2.2=clamav-1.3.0=clamav-1.0.6=clamav-1.2.3=clamav-1.3.1=clamav-1.4.0-rc=clamav-1.4.0=clamav-1.0.7=clamav-1.3.2=clamav-1.4.1=clamav-1.0.8=clamav-1.4.2=clamav-1.5.0-beta=clamav-1.0.9=clamav-1.4.3=clamav-1.5.0-rc=clamav-1.5.0=clamav-1.5.1=clamav-1.4.4=clamav-1.5.2=clamav-1.4.5=clamav-1.5.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/09/2026, 18:07:50 UTC

Technical Analysis

OSS-Fuzz reported a heap-buffer-overflow vulnerability in ClamAV's cli_strlcat function, which manifests as a write overflow on the heap. The crash occurs during the parsing of YARA rules (yara_yyparse and yr_lex_parse_rules_file). This vulnerability could cause program crashes or potentially other undefined behavior due to memory corruption. No CVSS score or detailed vendor advisory is available, and no patch links are provided. The affected versions are those at or after commit e5f001c9ca4175beecd445004a8e01bbdd29579c.

Potential Impact

The vulnerability causes a heap-buffer-overflow write, which can lead to application crashes or memory corruption. There are no known exploits in the wild, and no further impact details are provided. Without a patch or mitigation details, the risk remains unmitigated in affected versions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor ClamAV vendor channels and OSS-Fuzz reports for updates. Avoid processing untrusted YARA rules until a fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
OSV-2022-94
Osv Schema Version
1.2.0
Ecosystems
["OSS-Fuzz"]

Threat ID: 6a46ecdf27e9c79719440c16

Added to database: 07/02/2026, 22:57:35 UTC

Last enriched: 08/09/2026, 18:07:50 UTC

Last updated: 09/05/2026, 07:12:35 UTC

Views: 29

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses