Critical Remote Code Execution Vulnerability in SpamAssassin

spamassassin Updated 02 Oct 2025

Summary

17/09/2018
N/A
Yes i
Critical
9.8

ALPINE-CVE-2018-11780: A potential Remote Code Execution bug exists with the PDFInfo plugin in Apache SpamAssassin before 3.4.2. Affects spamassassin versions < 3.4.2-r0. Fixed in 3.4.2-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

SpamAssassin is an open-source spam filtering software that uses a variety of mechanisms to identify and filter out spam emails. It is widely used in email servers and applications to enhance email security. The software employs various plugins to extend its functionality, including the PDFInfo plugin, which processes PDF files to extract metadata. However, a critical vulnerability has been identified in this plugin that could allow remote code execution, posing significant risks to systems using affected versions.

Vulnerability Detail

A potential Remote Code Execution bug exists with the PDFInfo plugin in Apache SpamAssassin before version 3.4.2. This vulnerability arises from improper handling of certain inputs, which could be exploited by an attacker to execute arbitrary code on the server. The ramifications of this vulnerability are severe, as it could lead to unauthorized access, data breaches, and complete system compromise. The vulnerability has a CVSS score of 9.8, indicating its critical nature and the urgency for remediation.

How To Fix

Minimum fixed version

3.4.2-r0

This is the first release that contains the fix.

sudo apk add --upgrade spamassassin

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate patching is not feasible, consider disabling the PDFInfo plugin temporarily to mitigate the risk until the update can be applied. This can be done by modifying the SpamAssassin configuration file to comment out or remove the PDFInfo plugin entry.

Conclusion

The identified Remote Code Execution vulnerability in the PDFInfo plugin of SpamAssassin is critical and requires immediate attention. Users are advised to update to version 3.4.2 or later to mitigate the risks associated with this vulnerability. Regular monitoring and updates are essential to maintain the security of your systems.

See every vulnerability recorded for spamassassin →

Share this vulnerability

FAQ

The vulnerability is a Remote Code Execution flaw in the PDFInfo plugin of SpamAssassin, allowing attackers to execute arbitrary code.

You can check your SpamAssassin version by running 'spamassassin -V' in your terminal. If it is below 3.4.2, it is vulnerable.

Exploitation of this vulnerability could lead to unauthorized access, data breaches, and complete control over the affected server.

Yes, Vulert can monitor and alert for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

Detailed information can be found in the CVE database or by visiting the Vulert website, which provides insights into vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for spamassassin.

How To Fix

Minimum fixed version

3.4.2-r0

This is the first release that contains the fix.

sudo apk add --upgrade spamassassin

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback