CVE-2024-4141 Out-of-bounds array write in Xpdf 4.05 due to incorrect bounds check

Low 2.9 Published Updated

An out-of-bounds write in Xpdf allows attackers to execute arbitrary code or cause denial of service via a malicious PDF file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-4141?

CVE-2024-4141 is a low-severity memory corruption vulnerability in Xpdfreader Xpdf, published on 24 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Out-of-bounds array write in Xpdf 4.05 and earlier, triggered by an invalid character code in a Type 1 font. The root problem was a bounds check that was being optimized away by modern compilers.

Weakness: CWE-787

Which versions are affected by CVE-2024-4141?

It affects 1 product.

Linux distribution packages (16)
poppler SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions0.79.0-150200.3.29.1
poppler SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions23.01.0-150500.3.8.1
poppler SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions0.79.0-150200.3.29.1
poppler SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions23.01.0-150500.3.8.1
poppler-qt5 SUSE:Linux Enterprise Module for Package Hub 15 SP5All versions23.01.0-150500.3.8.1
poppler SUSE:Linux Enterprise Server 12 SP5All versions0.43.0-16.46.1
poppler-qt SUSE:Linux Enterprise Server 12 SP5All versions0.43.0-16.46.1
poppler SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.43.0-16.46.1
poppler-qt SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions0.43.0-16.46.1
poppler SUSE:Linux Enterprise Software Development Kit 12 SP5All versions0.24.4-14.47.1
poppler SUSE:Linux Enterprise Software Development Kit 12 SP5All versions0.43.0-16.46.1
poppler-qt SUSE:Linux Enterprise Software Development Kit 12 SP5All versions0.43.0-16.46.1
poppler SUSE:Linux Enterprise Workstation Extension 15 SP5All versions22.01.0-150400.3.19.1
poppler openSUSE:Leap 15.5All versions23.01.0-150500.3.8.1
poppler-qt5 openSUSE:Leap 15.5All versions23.01.0-150500.3.8.1
poppler-qt6 openSUSE:Leap 15.5All versions23.01.0-150500.3.8.1

Products include Xpdfreader Xpdf.

How do I fix CVE-2024-4141?

Apply the vendor's patch.

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

Is CVE-2024-4141 being exploited?

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

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as GHSA-3wjm-qx5r-4845, MGASA-2024-0218, OESA-2024-2210, OESA-2024-2211, OESA-2024-2212, OESA-2024-2244 and 6 more.

Is CVE-2024-4141 in your software?

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

Check your SBOMs for free