CVE-2024-45508 Memory corruption in n/a

Critical 9.8 Published Updated

An out-of-bounds write in HTMLDOC allows attackers to execute arbitrary code or cause denial of service via crafted input.

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

What is CVE-2024-45508?

CVE-2024-45508 is a critical memory corruption vulnerability in n/a, published on 1 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node.

Weakness: CWE-787

Which versions are affected by CVE-2024-45508?

It affects 1 product.

Linux distribution packages (5)
htmldoc SUSE:Package Hub 15 SP5All versions1.9.16-bp155.2.3.1
htmldoc SUSE:Package Hub 15 SP6All versions1.9.16-bp156.3.3.1
htmldoc openSUSE:Leap 15.5All versions1.9.16-bp155.2.3.1
htmldoc openSUSE:Leap 15.6All versions1.9.16-bp156.3.3.1
htmldoc openSUSE:TumbleweedAll versions1.9.18-2.1

Products include Htmldoc Project Htmldoc.

How do I fix CVE-2024-45508?

Upgrade to a fixed version.

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

Is CVE-2024-45508 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45508 exists.

Sources

Also known as DEBIAN-CVE-2024-45508, GHSA-jmwj-mmwj-qm9h, UBUNTU-CVE-2024-45508, openSUSE-SU-2024:0303-1, openSUSE-SU-2024:0304-1, openSUSE-SU-2024:14308-1.

Is CVE-2024-45508 in your software?

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

Check your SBOMs for free