OSV-2025-530 Invalid-free in cli_pdf

Not scored Published

An invalid-free vulnerability in the PDF processing library allows attackers to cause a crash or potentially execute code via malicious files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is OSV-2025-530?

OSV-2025-530 is a memory corruption vulnerability in clamav, published on 7 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=429489013

Crash type: Invalid-free
Crash state:
cli_pdf
cli_scanpdf
cli_magic_scan

Which versions are affected by OSV-2025-530?

1 open source package ship an affected version, including clamav.

PackageAffectedFixed in
clamav OSS-FuzzAll versionsNone

How do I fix OSV-2025-530?

No fix has been published for OSV-2025-530 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is OSV-2025-530 being exploited?

There is no known exploitation of OSV-2025-530 in the wild and no public exploit code.

Sources

Is OSV-2025-530 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free