Skip to content
Fencer Vulns
medium 5.5

CVE-2018-6612 json

An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing…

published 2018-02-04 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18359

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 66%
public exploits
0
none known

Summary

An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a heap-based buffer over-read when processing a malicious JPEG file, which may allow a remote attacker to cause a denial-of-service attack or unspecified other impact.

Patch / fix

  • jhead Debian 14, Debian 13, Debian 12 1:3.00-6

debian advisories DEBIAN-CVE-2018-6612

  • jhead Ubuntu Pro 14.04 LTS 1:2.97-1+deb8u2ubuntu0.1~esm4
  • jhead Ubuntu Pro 16.04 LTS 1:3.00-4+deb9u1ubuntu0.1~esm4

ubuntu advisories UBUNTU-CVE-2018-6612

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • jhead openSUSE Tumbleweed 3.06.0.1-1.3
  • jhead Package Hub 15 SP2 3.06.0.1-bp152.4.6.1
  • jhead openSUSE Leap 15.2 3.06.0.1-lp152.7.6.1

opensuse advisories openSUSE-SU-2024:10880-1openSUSE-SU-2021:0752-1openSUSE-SU-2021:0743-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-6612 updated cvss 3.3

jhead: Integer underflow in the process_EXIF function

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.13% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-125 Out-of-bounds Read
  • CWE-191 Integer Underflow (Wrap or Wraparound)

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.