CVE-2025-4637 Divide By Zero in dlib

High 8.7 Published Updated

Remote attackers can cause a denial of service in dlib by submitting a crafted file that triggers a divide by zero error.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4637?

CVE-2025-4637 is a high-severity denial of service vulnerability in davisking dlib, published on 14 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Divide By Zero vulnerability in davisking dlib allows

remote attackers to cause a denial of service via a crafted file.

.This issue affects dlib: before <19.24.7.

Weakness: CWE-369

Which versions are affected by CVE-2025-4637?

How do I fix CVE-2025-4637?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-4637 being exploited?

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

Sources

Also known as GHSA-332h-mhjm-x7jm.

Is CVE-2025-4637 in your software?

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

Check your SBOMs for free