Cloudanix VulnDB

CVE-2024-2824

Medium · 6.3

CVSS

6.3

EPSS

0.7%

Published

Mar 22, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in software that reads photo details lets attackers send bad files that could take over or crash systems handling images.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Other
Component
Application
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap-based buffer overflow in PrintFormatNumber function of exif.c triggered by crafted EXIF data manipulation.

Why it matters to the business

Remote attackers could crash or execute arbitrary code on systems processing image metadata, potentially leading to service disruption or compromise in environments relying on affected packages; low urgency given stable low EPSS and no KEV listing despite public exploit availability since 2024.

How an attack unfolds

An attacker crafts a malicious image file containing oversized EXIF metadata and delivers it to a target application that invokes jhead's PrintFormatNumber function, causing the overflow to corrupt heap memory and potentially achieve code execution.

How to fix it

Update affected AlmaLinux 8 packages to the listed fixed versions: Judy to 1.0.5-18.module_el8.6.0+2867+72759d2f, galera to 26.4.9-4.module_el8.6.0+2761+593e5e59, and all mariadb* packages to their respective 3:10.5.13-1.module_el8.* versions; rebuild or restart dependent services after upgrade.

How to confirm the fix worked

Verify package versions match the fixed releases using package manager queries; test EXIF parsing with known benign and edge-case image files to confirm no overflow occurs.

Typical attack path

  1. Identify target application or service that parses EXIF data via affected jhead code
  2. Craft malicious image or file with manipulated EXIF tags to trigger buffer overflow
  3. Deliver the file remotely to the vulnerable component
  4. Trigger processing of the file to execute overflow and gain initial access or cause denial of service

How to detect it

Inspect application and system logs for unexpected crashes or errors during image/EXIF processing; review file upload or processing histories for suspicious image files around the time of any anomalies.

What your security team should do

  • Prioritize upgrading all listed mariadb and related packages to the specified fixed versions across AlmaLinux 8 deployments
  • Monitor for any remaining jhead 3.08 instances and replace with patched builds
  • Review image processing workflows for unnecessary EXIF parsing exposure

The record

A vulnerability was found in Matthias-Wandel jhead 3.08 and classified as critical. This issue affects the function PrintFormatNumber of the file exif.c. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-257711.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 jhead 0 No fix
Debian:11 jhead 0 No fix
Debian:12 jhead 0 No fix
Debian:13 jhead 0 No fix
Ubuntu:20.04:LTS jhead 0 No fix
Ubuntu:22.04:LTS jhead 0 No fix
Ubuntu:24.04:LTS jhead 0 No fix
Ubuntu:24.10 jhead 0 No fix
Ubuntu:25.04 jhead 0 No fix
Ubuntu:25.10 jhead 0 No fix
Ubuntu:Pro:14.04:LTS jhead 0 No fix
Ubuntu:Pro:16.04:LTS jhead 0 No fix
Ubuntu:Pro:18.04:LTS jhead 0 No fix
Ubuntu:Pro:20.04:LTS jhead 0 No fix
Ubuntu:Pro:22.04:LTS jhead 0 No fix

Related vulnerabilities