Home › CVE › Vulnerabilities
CVE-2026-18495
Research article
LibTIFF Heap-Based Buffer Overflow (CVE-2026-18495) Triggered by Malformed TIFF Files
| CVE | CVE-2026-18495 |
|---|---|
| Published | December 03, 2026 22:55 UTC |
| Research cut-off | December 03, 2026 22:50 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-24); CISA KEV catalog; vendor advisory page (ubuntu.com) |
Executive summary
CVE-2026-18495 is a memory-handling flaw in the LibTIFF library, classified by NVD as CWE-122 Heap-based Buffer Overflow [1]. NVD's only score is a secondary CVSS 3.1 base score of 6.1 MEDIUM with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H, scored by Red Hat [1]. Ubuntu credits Jinbao Chen and says a user or automated process must be induced to open a maliciously formed TIFF file, with denial of service and possibly arbitrary code execution as the stated impact [3]. The record lists Red Hat Hardened Images fixed release 4.7.2-2.hum1 [1], and Ubuntu lists libtiff-opengl, libtiff-tools and libtiff5-dev at 4.5.1+git230720-4ubuntu2.7 as the fix [3]. The CVE is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-12-03, which does not prove it has not been exploited [2]. The most important immediate action is to inventory every host and image that processes TIFF files, compare installed LibTIFF builds with the Ubuntu fixed version, and apply the vendor update [3].
Key points
- CVE-2026-18495 is a LibTIFF memory-handling flaw classified as CWE-122 Heap-based Buffer Overflow [1, 3].
- NVD's only CVSS score is 6.1 MEDIUM under CVSS 3.1 with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H, scored by Red Hat as Secondary [1].
- Triggering requires a user or automated process to open a malicious TIFF file; the stated impact is denial of service and possibly code execution [3].
- Fixed versions are 4.7.2-2.hum1 for Red Hat Hardened Images [1] and 4.5.1+git230720-4ubuntu2.7 for Ubuntu's libtiff packages [3].
- Not listed in CISA KEV as of 2026-12-03, which is not evidence of absence of exploitation [2].
Vulnerability identification
| Field | Value |
|---|---|
| CVE ID | CVE-2026-18495 [1] |
| Product | LibTIFF, shipped in Ubuntu's tiff package [3]; the CVE record's CNA-published fixed product is Red Hat Hardened Images [1] |
| Published | 2026-09-11T18:16:56 [1] |
| Last modified | 2026-11-24T11:17:16 [1] |
| Record status | Awaiting Analysis [1] |
| CWE | CWE-122, Heap-based Buffer Overflow [1] |
| CVSS 3.1 | 6.1 MEDIUM; vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H; scored by secalert@redhat.com as Secondary [1] |
| Other scores | None. NVD has not published its own score, and the Ubuntu page gives no CVSS score or severity [1, 3] |
| Related identifiers | Red Hat advisory RHSA-2026:53467, Red Hat Bugzilla 2531414, LibTIFF merge request 729 [1]; Ubuntu notice USN-9468-1 [3] |
CWE-122 means the flaw is a write or related memory operation that goes past the bounds of a buffer allocated on the heap, the dynamically sized memory region a program requests at runtime [1]. Ubuntu describes the flaw only as improper handling of memory operations and does not name the weakness class [3]. The CWE mapping is therefore NVD's classification, not a vendor statement.
Vulnerability description
The flaw is in how LibTIFF handles memory operations while parsing TIFF image files [3]. The security property at risk is memory integrity: the library can corrupt its own heap, which typically produces a crash and, in some conditions, could allow control over program behaviour [1, 3]. Ubuntu's stated impacts are denial of service and possibly arbitrary code execution [3]. The NVD vector scores confidentiality, integrity and availability impacts as Low, Low and High respectively, with no scope change [1].
The condition for the flaw to matter is that an affected LibTIFF build opens a malicious TIFF file, whether a user does so or an automated process does [3]. The pack does not describe the malformed input structure, the triggering tag or field, or the exact code path, so the trigger cannot be characterised beyond this.
Attack surface and exploitation prerequisites
| Prerequisite | Value | Source |
|---|---|---|
| Access vector | Local (AV:L) | S1 |
| Attack complexity | Low (AC:L) | S1 |
| Privileges required | Low (PR:L) | S1 |
| User interaction | Required (UI:R) | S1 |
| Scope | Unchanged (S:U) | S1 |
| Victim action | A user or automated process opens a malicious TIFF file | S3 |
| Required configuration | None stated in the pack | S1, S3 |
The vector describes a local attack, but Ubuntu's wording covers automated processing of files [1, 3]. Analyst assessment: any service that parses attacker-supplied TIFF files, such as an upload handler or document converter, could be a path to the flaw. The vector is the scoring authority, so this cannot be confirmed without the vendor's analysis.
Impact analysis
| Area | Demonstrated or stated impact | Source |
|---|---|---|
| Availability | High per vector; denial of service stated by vendor | S1, S3 |
| Integrity | Low per vector; possible code execution stated by vendor, not confirmed | S1, S3 |
| Confidentiality | Low per vector; no data exposure described | S1 |
| Authentication and authorization | Not described; scope recorded as unchanged | S1 |
| Business and regulatory consequences | Not described in the pack | none |
The pack contains no proof-of-concept, crash analysis or exploit demonstration, so the code execution outcome remains a vendor statement and not a tested result [3].
Affected products and versions
| Vendor and product | Affected versions | Fixed version | Source and qualification |
|---|---|---|---|
| Red Hat Hardened Images | Not published as a range | 4.7.2-2.hum1 | CNA-published in the record [1] |
| Ubuntu tiff package (libtiff-opengl, libtiff-tools, libtiff5-dev) | Not published as a range | 4.5.1+git230720-4ubuntu2.7 | Vendor advisory [3] |
| Upstream LibTIFF | Not published in the pack | Not published in the pack | The record links a LibTIFF merge request and a repository tree at a specific commit, but their contents were not provided [1] |
The two fixed versions belong to different products and build lines, so they cannot be compared directly. Ubuntu's version applies to Ubuntu packages and Red Hat's applies to Red Hat Hardened Images [1, 3].
Exploitation and threat intelligence status
CISA's Known Exploited Vulnerabilities catalog did not list CVE-2026-18495 as of 2026-12-03 [2]. CISA states that absence is not evidence that the CVE has not been exploited [2]. The record's reference list contains no exploit or proof-of-concept entry [1], and the Ubuntu page gives no exploitation status [3]. Exploitation in the wild is therefore not confirmed by any source in the pack. No threat actor, campaign or targeting is attributed. The pack has no FIRST EPSS score.
Detection and exposure assessment
No indicators of compromise appear in the pack, so detection depends on version inventory. On Ubuntu hosts, the read-only command dpkg-query -W libtiff-tools libtiff-opengl libtiff5-dev lists the installed package versions. Compare the output with 4.5.1+git230720-4ubuntu2.7 [3]. Any installed version that sorts below this value is older than the fix Ubuntu published. This is an analyst comparison using Debian-style version ordering, and it indicates the package is older than the fix, not that it can be exploited. For Red Hat Hardened Images, compare the image build with 4.7.2-2.hum1 [1]; the pack does not describe the command for reading that build.
Log review cannot be specified from the pack, because no log source, event or file name is given for exploitation. Systems that handle untrusted TIFF files should be treated as in scope for inventory regardless of version output.
Remediation
No workaround is given in the pack. As an analyst recommendation, not a vendor-confirmed measure, quarantine TIFF files from untrusted sources before they reach any parser, for example at an upload handler or mail gateway, until the update is installed.
The permanent fix on Ubuntu is a regular system update, which Ubuntu says includes the changes, delivering libtiff-opengl, libtiff-tools and libtiff5-dev at 4.5.1+git230720-4ubuntu2.7 [3]. For Red Hat Hardened Images, the fixed release is 4.7.2-2.hum1 [1], and the Red Hat errata RHSA-2026:53467 is the associated advisory [1]. The pack does not state whether a restart or service reload is required after updating. After updating, rerun the package query above and confirm the version is at or above the fixed value.
Remediation checklist
- List every host, container and image that has a LibTIFF package or processes TIFF files, using the package manager on each system.
- On Ubuntu, run dpkg-query -W libtiff-tools libtiff-opengl libtiff5-dev and flag any version that sorts below 4.5.1+git230720-4ubuntu2.7 [3].
- On Red Hat Hardened Images, compare each image build with the fixed release 4.7.2-2.hum1 and flag older builds [1].
- Quarantine TIFF files from untrusted sources at the upload handler or mail gateway until the update is installed; this is an analyst recommendation, not a vendor measure.
- On Ubuntu, apply the regular system update that includes the fixed libtiff-opengl, libtiff-tools and libtiff5-dev packages at 4.5.1+git230720-4ubuntu2.7 [3].
- On Red Hat Hardened Images, rebuild or redeploy the images at 4.7.2-2.hum1 and review errata RHSA-2026:53467 [1].
- After updating, rerun the dpkg-query check and confirm each package is at or above 4.5.1+git230720-4ubuntu2.7 [3].
- For services that parse TIFF files automatically, confirm the parser version in each service and record the result against the fixed version.
- Review the Red Hat Bugzilla entry 2531414 and the LibTIFF merge request 729 for technical detail once they are accessible, to confirm the trigger and the affected code path [1].
Evidence gaps
- Root cause: no source describes the faulty code path, the malformed TIFF structure or the triggering field; the CWE-122 mapping is NVD's classification and is not confirmed by the vendor. Settle it by reading the LibTIFF merge request and the Red Hat bug entry.
- Affected version range: no source gives a complete range for upstream LibTIFF or for either vendor's products; settle it with the Red Hat and Ubuntu errata and the upstream commit history.
- Exploitation: no source confirms exploitation in the wild, and CISA KEV absence does not rule it out; settle it by monitoring KEV and vendor threat reports after 2026-12-03.
- Proof of concept: no exploit or proof-of-concept reference appears in the pack; a public exploit reference would be needed to assess exploitability.
- CVSS: NVD has not analysed the record (Awaiting Analysis), so no NVD-assigned score exists; a later NVD analysis would settle the scoring.
- FIRST EPSS score: the pack does not include one, so exploitation likelihood cannot be estimated from it.
- Indicators of compromise: none are given; a vendor or incident responder report would be needed.
- Red Hat advisory content: RHSA-2026:53467 is referenced but its text was not provided; its package list and workarounds are unknown.
- Other distributions: no Debian, SUSE or other vendor fixed versions are in the pack; their advisories would be needed for their own assessments.
- Red Hat Hardened Images package mapping: the pack does not say how to read the image build version or which package carries the LibTIFF code.
References
- CVE-2026-18495 record. NIST National Vulnerability Database (NVD), 2026-11-24. https://nvd.nist.gov/vuln/detail/CVE-2026-18495. Accessed 2026-12-03.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-03. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-03.
- Vendor bulletin page (ubuntu.com). ubuntu.com. https://ubuntu.com/security/notices/USN-9468-1. Accessed 2026-12-03.
Summary
Jinbao Chen discovered that LibTIFF did not correctly handle certain memory operations. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. (CVE-2026-18495) Satriyo Utomo discovered that LibTIFF did not correctly handle uncompressing certain images. If a user or automate…
Severity breakdown
Medium · 6.1
An attacker with a normal user account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on availability, low on confidentiality and integrity
Weakness
- CWE-122: Heap-based Buffer Overflow
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Hardened Images | versions without the fix | 4.7.2-2.hum1 |
References by type
Patches and fixed releases
Other references
Frequently asked questions
What is CVE-2026-18495?
CVE-2026-18495 is a memory-handling flaw in the LibTIFF library, classified by NVD as CWE-122 Heap-based Buffer Overflow. NVD's only score is a secondary CVSS 3.1 base score of 6.1 MEDIUM with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:H, scored by Red Hat. Weakness type: Heap-based Buffer Overflow (CWE-122).
How severe is CVE-2026-18495?
CVE-2026-18495 has a CVSS 3.1 base score of 6.1 (medium), from the CNA (redhat.com). An attacker with a normal user account can exploit this with local access if a user is tricked into an action.
Is CVE-2026-18495 being exploited?
Not as far as is known: CVE-2026-18495 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.1% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-18495?
Red Hat Hardened Images versions without the fix (fixed in 4.7.2-2.hum1).
How do I fix CVE-2026-18495?
List every host, container and image that has a LibTIFF package or processes TIFF files, using the package manager on each system. On Ubuntu, run dpkg-query -W libtiff-tools libtiff-opengl libtiff5-dev and flag any version that sorts below 4.5.1+git230720-4ubuntu2.7. On Red Hat Hardened Images, compare each image build with the fixed release 4.7.2-2.hum1 and flag older builds.