Improper Input Validation Affecting emacs-common package, versions <1:24.3-23.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.44% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-EMACSCOMMON-8013039
  • published17 Sept 2024
  • disclosed5 Jul 2018

Introduced: 5 Jul 2018

CVE-2018-16643  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:7 emacs-common to version 1:24.3-23.el7 or higher.
This issue was patched in RHSA-2020:1180.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs-common package and not the emacs-common package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The functions ReadDCMImage in coders/dcm.c, ReadPWPImage in coders/pwp.c, ReadCALSImage in coders/cals.c, and ReadPICTImage in coders/pict.c in ImageMagick 7.0.8-4 do not check the return value of the fputc function, which allows remote attackers to cause a denial of service via a crafted image file.