CVE-2026-70653

Source
https://cve.org/CVERecord?id=CVE-2026-70653
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70653.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-70653
Aliases
  • GHSA-fh99-55jf-5hj3
Downstream
Published
2026-08-20T21:06:26.424Z
Modified
2026-08-22T09:15:39.796352Z
Severity
  • 4.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
libvips: Possible heap-based buffer read overflow when decoding a well-crafted RLE Radiance image
Details

libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, the old-style Radiance RLE decoder in libvips/foreign/radiance.c can process a repeat marker at the beginning of a scanline in scanlinereadold and read q[-1] before any prior pixel exists. A crafted Radiance image loaded through VipsForeignLoadRad can therefore disclose four bytes of adjacent heap data, most likely other image data. This issue is fixed in version 8.18.3.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70653.json"
}
References

Affected packages

Git / github.com/libvips/libvips

Affected ranges

Type
GIT
Repo
https://github.com/libvips/libvips
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "8.18.3"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

v7.*
v7.28.0
v8.*
v8.0-beta
v8.1
v8.10.0
v8.10.0-beta1
v8.10.0-beta2
v8.10.0-rc1
v8.10.0-rc2
v8.10.6-beta2
v8.11
v8.11.0
v8.11.0-rc1
v8.12.0
v8.12.0-rc1
v8.13.0
v8.13.0-pre1
v8.13.0-rc1
v8.13.0-rc2
v8.14.0
v8.14.0-rc1
v8.15.0
v8.15.0-rc2
v8.16.0
v8.16.0-rc1
v8.16.0-rc2
v8.17.0
v8.17.0-rc1
v8.17.0-test1
v8.17.0-test2
v8.17.0-test3
v8.17.0-test4
v8.18.0
v8.18.0-alpha1
v8.18.0-alpha2
v8.18.0-rc1
v8.18.0-rc2
v8.18.0-rc3
v8.18.1
v8.18.2
v8.18.3-rc1
v8.2.2
v8.3.0
v8.5.1
v8.5.2
v8.5.3
v8.6.0
v8.6.0-alpha1
v8.6.0-alpha2
v8.6.0-beta1
v8.6.0-beta2
v8.7.0
v8.7.0-alpha2
v8.7.0-rc1
v8.7.0-rc2
v8.7.0-rc3
v8.8.0
v8.8.0-rc1
v8.8.0-rc2
v8.8.0-rc3
v8.9.0
v8.9.0-alpha1
v8.9.0-beta1
v8.9.0-beta2
v8.9.0-rc1
v8.9.0-rc2
v8.9.0-rc3
v8.9.0-rc4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-70653.json"
vanir_signatures
[
    {
        "target": {
            "function": "scanline_read_old",
            "file": "libvips/foreign/radiance.c"
        },
        "deprecated": false,
        "source": "https://github.com/libvips/libvips/commit/dc945573e15d598054e701c65b90a35b16b19304",
        "id": "CVE-2026-70653-0821e7d1",
        "signature_version": "v1",
        "digest": {
            "length": 694.0,
            "function_hash": "11824270384503569399397073039391641754"
        },
        "signature_type": "Function"
    },
    {
        "target": {
            "file": "libvips/foreign/radiance.c"
        },
        "deprecated": false,
        "source": "https://github.com/libvips/libvips/commit/3664cfc5dc2c5661288f5bf5a85ccc51c64c1626",
        "id": "CVE-2026-70653-4e5493d3",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "40871188566960555797534865343993917120",
                "280583468346626059971461642282471659907",
                "124457516850962973310175479744249140645",
                "328053393552607056949457160698094811715",
                "215634287215946805611721991023061710430",
                "156768635521381228100771632092021262850",
                "277582039530558050549102845751760158295",
                "293496822736095924310907936123479200764",
                "247399218563492718961184865847735965900",
                "335249549507646226668533406698177255556",
                "39003126028108026901725344741125630115",
                "319954858964960260251026803592065571652",
                "287170327211599960049231835358937974244",
                "93930203671943223743569148747746365986"
            ]
        },
        "signature_type": "Line"
    },
    {
        "target": {
            "function": "scanline_read_old",
            "file": "libvips/foreign/radiance.c"
        },
        "deprecated": false,
        "source": "https://github.com/libvips/libvips/commit/3664cfc5dc2c5661288f5bf5a85ccc51c64c1626",
        "id": "CVE-2026-70653-aed2a489",
        "signature_version": "v1",
        "digest": {
            "length": 994.0,
            "function_hash": "72490777654407013462939268128658569853"
        },
        "signature_type": "Function"
    },
    {
        "target": {
            "file": "libvips/foreign/radiance.c"
        },
        "deprecated": false,
        "source": "https://github.com/libvips/libvips/commit/dc945573e15d598054e701c65b90a35b16b19304",
        "id": "CVE-2026-70653-f6207290",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "323156140424865601908063874849887763744",
                "299596947838637191482355601538557814113",
                "91591863073292263740322197986170612448",
                "239297234421814388616776837708115217172",
                "2595711244583634164144222042576831731",
                "153573086891602548615497558868254791170",
                "95224512702621004621058303904883252683",
                "245482321093711983349927571843961270977",
                "162818796947345169377382400279420005988",
                "53786443643968805481675183791660917658",
                "143570668310433588497511267808026445005",
                "134265254664831441875179160378242605208",
                "295913070043226134731822758875142654833",
                "165765567496320475425292533335961389130",
                "133822880929073214579428943511581045907",
                "16233514961055577505921137432051131254",
                "189513402799309554127888895493514530122",
                "133441399476295853543138078868296029817",
                "295547449517966470885556476075891079843",
                "314072931313818863257786237121707986726",
                "142014284724039008437958059725332777147",
                "150047580530896038692728402235286178437",
                "165158740352993183695237558838648497999",
                "51313696949771525199201605510938198849",
                "61770349855213892623954124538985966987",
                "136573982704616475861321635382473402356",
                "154175914846083332133612342044824170584",
                "261175236970854346453924396096184285344",
                "267868390585593816517915983992887850017",
                "40871188566960555797534865343993917120",
                "153654877041470798233627748063502403159",
                "13699346341161043716218676039809845159",
                "120746025869813339157469815236143968166",
                "145278112516432448645321835894619158836",
                "322849354868381698991156697410744819624",
                "216798808322261920750134935737469942703"
            ]
        },
        "signature_type": "Line"
    }
]
vanir_signatures_modified
"2026-08-22T09:15:39Z"