Skip to content
Crypto Disclosed report Intermediate CVE-2025-3044

LlamaIndex vulnerability in ArxivReader class can cause MD5 hash collisions

The ArxivReader class generated filenames using MD5 hashes of paper titles, so papers with identical titles but different contents could collide and overwrite each other. This could cause data loss and prevent some papers from being processed for AI model training.

run-llama/llama_index

Originally disclosed on huntr

A vulnerability in the ArxivReader class of the run-llama/llama_index repository allows for MD5 hash collisions when generating filenames for downloaded papers. This can lead to data loss as papers with identical titles but different contents may overwrite each other, preventing some papers from being processed for AI model training. The issue is resolved in llama-index-readers-papers version 0.3.1 (in llama-index 0.12.28).

From the GitHub Advisory Database (GHSA-p7j4-jwjf-5x9w, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the use of MD5 hashing on paper titles to generate filenames, without accounting for collisions or using a more robust unique identifier.

Impact

This could lead to data loss as papers with identical titles but different contents may overwrite each other, preventing some papers from being processed for AI model training.

What the attacker needed

Use of ArxivReader; papers with identical titles

The fix

The issue was fixed in llama-index-readers-papers version 0.3.1 (in llama-index 0.12.28).

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A hash is like a fingerprint for data, but MD5 is an old method that can produce the same fingerprint for different inputs. Here, the program used the paper's title to create a filename, so two papers with the same title got the same filename and one overwrote the other. This meant some papers were lost and not used for training.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More from run-llama/llama_index

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.