<Vulnerability name="CVE-2026-69242">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Important</ThreatSeverity>
    <PublicDate>2026-08-20T21:02:58</PublicDate>
    <Bugzilla id="2520797" url="https://bugzilla.redhat.com/show_bug.cgi?id=2520797" xml:lang="en:us">
libvips: libvips: Integer overflow leads to heap buffer overflow and arbitrary memory access
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>7.8</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-787</CWE>
    <Details xml:lang="en:us" source="Mitre">
libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, a crafted many-band TIFF processed through VipsForeignLoadTiff can evade scanline validation in libvips/iofuncs/image.c and cause an integer overflow in vips_image_sanity. The resulting buffer-region calculation can access attacker-controlled negative offsets in mmap-resident allocations, allowing reads or writes of other image data, possible data disclosure through uncompressed .v output, and likely process crashes. Remote code execution has not been demonstrated but cannot be ruled out. This issue is fixed in version 8.18.3.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in libvips. A crafted many-band TIFF image, when processed by libvips, can bypass scanline validation and trigger an integer overflow. This overflow leads to a heap buffer overflow, allowing an attacker to access arbitrary memory locations with negative offsets. This can result in the disclosure of sensitive image data, corruption of other data, and likely application crashes. While not yet demonstrated, remote code execution cannot be ruled out.
    </Details>
    <Statement xml:lang="en:us">
This is an Important flaw in libvips, where a specially crafted TIFF image can trigger an integer overflow, leading to a heap buffer overflow. This could allow an attacker to achieve arbitrary memory access, potentially resulting in data disclosure, denial of service, or remote code execution. The vulnerability requires local access or user interaction to process the malicious file.
    </Statement>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-69242
https://nvd.nist.gov/vuln/detail/CVE-2026-69242
https://github.com/libvips/libvips/commit/c72f50927413cd2451837d9813f954bc5d88f548
https://github.com/libvips/libvips/pull/5012
https://github.com/libvips/libvips/releases/tag/v8.18.3
https://github.com/libvips/libvips/security/advisories/GHSA-9rwc-f68v-4482
    </References>
</Vulnerability>