Critical Security Update for Emacs: DSA-5871-1

emacs Updated 02 Oct 2025

Summary

27/02/2025
N/A
Yes i
Unrated
Not published

DSA-5871-1: emacs - security update. Affects emacs versions < 1:28.2+1-15+deb12u4. Fixed in 1:28.2+1-15+deb12u4. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Emacs is a highly extensible and customizable text editor widely used by programmers and writers. It provides a robust environment for editing text and code, featuring a powerful scripting language, support for various programming languages, and a vast array of plugins. However, like any software, Emacs can be vulnerable to security issues that may compromise user data or system integrity.

Vulnerability Detail

The vulnerability identified as DSA-5871-1 affects Emacs versions prior to 1:28.2+1-15+deb12u4. It is associated with CVE-2024-53920 and CVE-2025-1244, which may allow attackers to exploit weaknesses in the software, potentially leading to unauthorized access or data manipulation. The exact nature of the vulnerability is linked to how Emacs processes certain inputs, which could be leveraged by malicious actors.

How To Fix

Minimum fixed version

1:28.2+1-15+deb12u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade emacs

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

Workaround

As a temporary measure, users can limit the use of certain features in Emacs that may be susceptible to exploitation until the update is applied. However, the best course of action is to update to the patched version as soon as possible.

Conclusion

The DSA-5871-1 security update for Emacs addresses critical vulnerabilities that could compromise user data and system integrity. It is essential for users to update to the patched version to ensure their systems remain secure. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.

See every vulnerability recorded for emacs →

Share this vulnerability

FAQ

DSA-5871-1 is a security advisory related to a vulnerability in the Emacs text editor that requires immediate attention to protect user data.

You can check your Emacs version by running 'emacs --version' in the terminal. If it is below 1:28.2+1-15+deb12u4, it is affected.

CVE-2024-53920 and CVE-2025-1244 are identifiers for specific vulnerabilities that have been documented and are associated with the security issues in Emacs.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application for vulnerabilities at Vulert Scanner.

If you cannot update immediately, consider limiting the use of vulnerable features in Emacs until you can apply the security patch.

Related vulnerabilities

Recent vulnerabilities recorded for emacs.

How To Fix

Minimum fixed version

1:28.2+1-15+deb12u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade emacs

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