CVE-2018-6612
An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a...
CVE-2018-6612 is a medium vulnerability (CVSS 5.5) in Jhead Project Jhead, published February 4, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.13%, the 66th percentile. Fixed in jhead 1:3.00-6.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2018-6612- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-125, CWE-191
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-6612- Updated
- 2026-11-02
EUVDEUVD-2018-18359 No score
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.
- Record
EUVD-2018-18359- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-73qf-rvc2-8ggj
5.5
An integer underflow bug in the process_EXIF function of the exif.c file of jhead 3.00 raises a...
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.
- Record
GHSA-73qf-rvc2-8ggj- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2018-6612- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-6612
5.5
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.
- Record
DEBIAN-CVE-2018-6612- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2018-6612
5.5
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.
- Record
UBUNTU-CVE-2018-6612- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0146 No score
Updated jhead package fixes security vulnerability
Updated jhead package fixes security vulnerability:
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 (CVE-2018-6612).
- Record
MGASA-2018-0146- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0743-1 No score
Security update for jhead
This update for jhead fixes the following issues:
jhead was updated to 3.06.0.1
- lot of fuzztest fixes
- Apply a whole bunch of patches from Debian.
- Spell check and fuzz test stuff from Debian, nothing useful to human users.
- Add option to set exif date from date from another file.
- Bug fixes relating to fuzz testing.
- Fix bug where thumbnail replacement DID NOT WORK.
- Fix bug when no orientation tag is present
- Fix bug of not clearing exif information when processing images with an without exif data in one invocation.
- Remove some unnecessary warnings with some types of GPS data
- Remove multiple copies of the same type of section when deleting section types
- Record
openSUSE-SU-2021:0743-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0752-1 No score
Security update for jhead
This update for jhead fixes the following issues:
jhead was updated to 3.06.0.1
- lot of fuzztest fixes
- Apply a whole bunch of patches from Debian.
- Spell check and fuzz test stuff from Debian, nothing useful to human users.
- Add option to set exif date from date from another file.
- Bug fixes relating to fuzz testing.
- Fix bug where thumbnail replacement DID NOT WORK.
- Fix bug when no orientation tag is present
- Fix bug of not clearing exif information when processing images with an without exif data in one invocation.
- Remove some unnecessary warnings with some types of GPS data
- Remove multiple copies of the same type of section when deleting section types
This update was imported from the openSUSE:Leap:15.2:Update update project.
- Record
openSUSE-SU-2021:0752-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10880-1 No score
jhead-3.06.0.1-1.3 on GA media
These are all security issues fixed in the jhead-3.06.0.1-1.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10880-1- Updated
- 2026-11-02
OSVUSN-6113-1 No score
Jhead vulnerability
It was discovered that Jhead did not properly handle certain crafted images while processing the Exif markers. An attacker could possibly use this issue to crash Jhead, resulting in a denial of service.
- Record
USN-6113-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jheadDebian:12 |
before 1:3.00-6 | 1:3.00-6 |
jheadDebian:13 |
before 1:3.00-6 | 1:3.00-6 |
jheadDebian:14 |
before 1:3.00-6 | 1:3.00-6 |
jheadMageia:6 |
before 3.00-3.1.mga6 | 3.00-3.1.mga6 |
jheadUbuntu:Pro:14.04:LTS |
before 1:2.97-1+deb8u2ubuntu0.1~esm4, plus listed versions 1:2.97-11:2.97-1+deb8u1build0.14.04.11:2.97-1+deb8u2build0.14.04.1~esm11:2.97-1+deb8u2ubuntu0.1~esm11:2.97-1+deb8u2ubuntu0.1~esm21:2.97-1+deb8u2ubuntu0.1~esm3 |
1:2.97-1+deb8u2ubuntu0.1~esm4 |
jheadUbuntu:Pro:16.04:LTS |
before 1:3.00-4+deb9u1ubuntu0.1~esm4, plus listed versions 1:3.00-11:3.00-21:3.00-31:3.00-4+deb9u1build0.16.04.11:3.00-4+deb9u1ubuntu0.1~esm11:3.00-4+deb9u1ubuntu0.1~esm21:3.00-4+deb9u1ubuntu0.1~esm3 |
1:3.00-4+deb9u1ubuntu0.1~esm4 |
jheadopenSUSE:Leap 15.2 |
before 3.06.0.1-lp152.7.6.1 | 3.06.0.1-lp152.7.6.1 |
jheadSUSE:Package Hub 15 SP2 |
before 3.06.0.1-bp152.4.6.1 | 3.06.0.1-bp152.4.6.1 |
jheadopenSUSE:Tumbleweed |
before 3.06.0.1-1.3 | 3.06.0.1-1.3 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
bugs.debian.org/cgi-bin/bugreport.cgi?bug=889272
launchpad.net/ubuntu/+source/jhead/1:3.00-6
nvd.nist.gov/vuln/detail/CVE-2018-6612
github.com/advisories/GHSA-73qf-rvc2-8ggj
security-tracker.debian.org/tracker/CVE-2018-6612
advisories.mageia.org/MGASA-2018-0146.html
Show 21 moreShow less
bugs.mageia.org/show_bug.cgi?id=22565
lists.opensuse.org/opensuse-updates/2018-02/msg00037.html
ubuntu.com/security/CVE-2018-6612
anonscm.debian.org/git/collab-maint/jhead.git/diff/debian/patches/0008-heap-buffer-overflow.patch?id=01f09ab772d0d341cdc1326490dd2aa5aa2a7784
ubuntu.com/security/notices/USN-6113-1
cve.org/CVERecord?id=CVE-2018-6612
lists.opensuse.org/archives/list/[email protected]/thread/JPTEPBJVJFSKKHSTZER2JVIMRP7MGN2C
bugzilla.suse.com/1144316
bugzilla.suse.com/1144354
bugzilla.suse.com/1160544
bugzilla.suse.com/1160547
suse.com/security/cve/CVE-2016-3822
suse.com/security/cve/CVE-2018-16554
suse.com/security/cve/CVE-2018-17088
suse.com/security/cve/CVE-2018-6612
suse.com/security/cve/CVE-2019-1010301
suse.com/security/cve/CVE-2019-1010302
suse.com/security/cve/CVE-2020-6624
suse.com/security/cve/CVE-2020-6625
suse.com/security/cve/CVE-2021-3496
lists.opensuse.org/archives/list/[email protected]/thread/3GBTHCPCHWJ3JG5IDEDAYSW5LVUEVXYH