pymupdf4llm is vulnerable to Integer Overflow
78
High Risk
pdf_load_image_imp in pdf-image.c computes the unpack buffer size for PDF image pixel data with narrow integer arithmetic that can silently wrap for large or crafted width, height, or bit-depth values, even though a later sanity check assumes no overflow. The undersized size is then used to allocate the destination buffer, so unpacking the image overruns the heap. The fix uses overflow-safe size calculation before allocating the unpack buffer.
You are affected if you are using a version that falls within the vulnerable range and process PDF files from untrusted sources.
pymupdf4llm is vulnerable to Integer Overflow in versions 0.0.1 - 1.27.2.3.
Upgrade the pymupdf4llm library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant