cve-2025-29769
Vulnerability from cvelistv5
Published
2025-04-07 20:09
Modified
2025-04-30 22:03
Severity ?
EPSS score ?
Summary
libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output
References
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2025-29769", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2025-04-08T14:20:52.524132Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-04-08T16:00:43.287Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2025-04-30T22:03:02.869Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "url": "https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "libvips", "vendor": "libvips", "versions": [ { "status": "affected", "version": "\u003c 8.16.1" } ] } ], "descriptions": [ { "lang": "en", "value": "libvips is a demand-driven, horizontally threaded image processing library. The heifsave operation could incorrectly determine the presence of an alpha channel in an input when it was not possible to determine the colour interpretation, known internally within libvips as \"multiband\". There aren\u0027t many ways to create a \"multiband\" input, but it is possible with a well-crafted TIFF image. If a \"multiband\" TIFF input image had 4 channels and HEIF-based output was requested, this led to libvips creating a 3 channel HEIF image without an alpha channel but then attempting to write 4 channels of data. This caused a heap buffer overflow, which could crash the process. This vulnerability is fixed in 8.16.1." } ], "metrics": [ { "cvssV4_0": { "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "LOCAL", "baseScore": 8.5, "baseSeverity": "HIGH", "privilegesRequired": "LOW", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "version": "4.0", "vulnAvailabilityImpact": "HIGH", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-122", "description": "CWE-122: Heap-based Buffer Overflow", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-04-07T20:09:30.971Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm" }, { "name": "https://github.com/libvips/libvips/pull/4392", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/libvips/libvips/pull/4392" }, { "name": "https://github.com/libvips/libvips/pull/4394", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/libvips/libvips/pull/4394" }, { "name": "https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2" }, { "name": "https://issues.oss-fuzz.com/issues/396460413", "tags": [ "x_refsource_MISC" ], "url": "https://issues.oss-fuzz.com/issues/396460413" } ], "source": { "advisory": "GHSA-f8r8-43hh-rghm", "discovery": "UNKNOWN" }, "title": "libvips has a potential heap-based buffer overflow when attempting to convert multiband TIFF input to HEIF output" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2025-29769", "datePublished": "2025-04-07T20:09:30.971Z", "dateReserved": "2025-03-11T14:23:00.474Z", "dateUpdated": "2025-04-30T22:03:02.869Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2025-29769\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2025-04-07T20:15:21.090\",\"lastModified\":\"2025-04-30T22:15:16.870\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"libvips is a demand-driven, horizontally threaded image processing library. The heifsave operation could incorrectly determine the presence of an alpha channel in an input when it was not possible to determine the colour interpretation, known internally within libvips as \\\"multiband\\\". There aren\u0027t many ways to create a \\\"multiband\\\" input, but it is possible with a well-crafted TIFF image. If a \\\"multiband\\\" TIFF input image had 4 channels and HEIF-based output was requested, this led to libvips creating a 3 channel HEIF image without an alpha channel but then attempting to write 4 channels of data. This caused a heap buffer overflow, which could crash the process. This vulnerability is fixed in 8.16.1.\"},{\"lang\":\"es\",\"value\":\"libvips es una librer\u00eda de procesamiento de im\u00e1genes basada en demanda y con subprocesos horizontales. La operaci\u00f3n heifsave pod\u00eda determinar incorrectamente la presencia de un canal alfa en una entrada cuando no era posible determinar la interpretaci\u00f3n del color, lo que se conoce internamente en libvips como \\\"multibanda\\\". No existen muchas maneras de crear una entrada \\\"multibanda\\\", pero es posible con una imagen TIFF bien manipulada. Si una imagen de entrada TIFF \\\"multibanda\\\" ten\u00eda 4 canales y se solicitaba una salida basada en HEIF, libvips creaba una imagen HEIF de 3 canales sin canal alfa, pero luego intentaba escribir 4 canales de datos. Esto provocaba un desbordamiento del b\u00fafer de pila, lo que pod\u00eda bloquear el proceso. Esta vulnerabilidad se corrigi\u00f3 en la versi\u00f3n 8.16.1.\"}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":8.5,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"HIGH\",\"vulnIntegrityImpact\":\"HIGH\",\"vulnAvailabilityImpact\":\"HIGH\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"NONE\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-122\"}]}],\"references\":[{\"url\":\"https://github.com/libvips/libvips/commit/9ab6784f693de50b00fa535b9efbbe9d2cbf71f2\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/libvips/libvips/pull/4392\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/libvips/libvips/pull/4394\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/libvips/libvips/security/advisories/GHSA-f8r8-43hh-rghm\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://issues.oss-fuzz.com/issues/396460413\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2025/04/msg00044.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}" } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.