High
Gimp: stack-based buffer overflows in file-ico
Type: advisorySources: OSV
A flaw was found in GIMP. The GIMP ani_load_image() function is vulnerable to a stack-based overflow. If a user opens.ANI files, GIMP may be used to store more information than the capacity allows. This flaw allows a malicious ANI file to trigger arbitrary code execution.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-48796
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:02 UTC · Revision 1
Source evidence
Gimp: stack-based buffer overflows in file-ico
core-osv · Original sourcePublished 27 May 2025, 14:04 UTC
A flaw was found in GIMP. The GIMP ani_load_image() function is vulnerable to a stack-based overflow. If a user opens.ANI files, GIMP may be used to store more information than the capacity allows. This flaw allows a malicious ANI file to trigger arbitrary code execution.
osv:CVE-2025-48796
Complete source record
{
"id": "5cf3230b78ebfc77912918fd6509603f9778c6ee26df0ae0d557493a70f3ecf5",
"url": "https://osv.dev/vulnerability/CVE-2025-48796",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Gimp: stack-based buffer overflows in file-ico",
"summary": "A flaw was found in GIMP. The GIMP ani_load_image() function is vulnerable to a stack-based overflow. If a user opens.ANI files, GIMP may be used to store more information than the capacity allows. This flaw allows a malicious ANI file to trigger arbitrary code execution.",
"evidence": "osv:CVE-2025-48796",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-48796",
"aliases": [
"CVE-2025-48796"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/gimp",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d3c5536ac85bb84e1beaba68aea12cf28062e08c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.99.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"GIMP_2_99_14",
"GIMP_2_99_12",
"GIMP_2_99_10",
"GIMP_2_99_8",
"GIMP_2_99_6",
"GIMP_2_99_4",
"GIMP_2_99_2",
"GIMP_2_10_2",
"GIMP_2_10_0",
"GIMP_2_10_0_RC2",
"GIMP_2_10_0_RC1",
"GIMP_2_9_8",
"GIMP_2_9_6",
"GIMP_2_9_2",
"soc-2012-unified-transform-after-gsoc",
"soc-2012-unified-transform-before-gsoc",
"GIMP_2_8_0",
"GIMP_2_8_0_RC1",
"GIMP_2_7_5",
"GIMP_2_7_4",
"GIMP_2_7_3",
"GIMP_2_7_2",
"GIMP_2_7_1",
"GIMP_2_6_1",
"GIMP_2_6_0",
"GIMP_2_5_4",
"GIMP_2_5_3",
"GIMP_2_5_2",
"GIMP_2_5_1",
"GIMP_2_5_0",
"GIMP_2_4_1",
"GIMP_2_4_0_RC3",
"GIMP_2_4_0_RC2",
"GIMP_2_4_0_RC1",
"GIMP_2_3_19",
"GIMP_2_3_18",
"GIMP_2_3_17",
"GIMP_2_3_16",
"GIMP_2_3_14",
"SCRIPT_FU_MERGE",
"GIMP_2_3_13",
"GIMP_2_3_12",
"SCRIPT_FU_BEFORE_TINYSCHEME",
"TINY_FU_1_1_0",
"GIMP_2_3_11",
"gimp",
"GIMP_2_3_10",
"GIMP_2_3_9",
"NEEDS_GIMP_2_3_10",
"TINY_FU_1_0_RC1",
"TINY_FU_1_0_1",
"TINY_FU_1_0_0",
"GIMP_2_3_8",
"GIMP_2_3_7",
"GIMP_2_3_6",
"GIMP_2_3_5",
"GIMP_2_3_4",
"GIMP_2_3_3",
"GIMP_2_3_2",
"GIMP_2_3_1",
"GIMP_2_3_0",
"TINY_FU_0_9_8",
"TINY_FU_0_9_7",
"GIMP_2_2_1",
"GIMP_2_2_0",
"TINY_FU_0_9_6",
"GIMP_2_2_PRE2",
"GIMP_2_2_PRE1",
"TINY_FU_0_9_5",
"GIMP_2_1_7",
"TINY_FU_0_9_4",
"TINY_FU_0_9_3",
"GIMP_2_1_6",
"GIMP_2_1_5",
"GIMP_2_1_4",
"GIMP_2_1_3",
"GIMP_2_1_2",
"GIMP_2_1_1",
"GIMP_2_1_0",
"GIMP_2_0_1",
"GIMP_2_0_0",
"GIMP_2_0_RC1",
"GIMP_1_3_27",
"GIMP_1_3_26",
"GIMP_1_3_25",
"GIMP_1_3_24",
"GIMP_1_3_23",
"GIMP_1_3_22",
"GIMP_1_3_21",
"GIMP_1_3_20",
"GIMP_1_3_19",
"GIMP_1_3_18",
"GNOME_2_4_BRANCHPOINT",
"release-2-4-0",
"GIMP_1_3_17",
"GIMP_1_3_16",
"GIMP_1_3_15",
"GIMP_1_3_14",
"release-2-3-0",
"GIMP_1_3_13",
"release-2-2-5",
"GIMP_1_3_12",
"release-2-2-4",
"LIBRSVG_2_2_0",
"LIBRSVG_2_1_5",
"LIBRSVG_2_1_4",
"GIMP_1_3_11",
"GIMP_1_3_10",
"GIMP_1_3_9",
"LIBRSVG_2_1_3",
"LIBRSVG_2_1_2",
"LIBRSVG_2_1_1",
"GIMP_1_3_8",
"GIMP_1_3_7",
"GIMP_1_3_6",
"GIMP_1_3_5",
"GIMP_1_3_4",
"GIMP_1_3_3",
"GIMP_1_3_2",
"GIMP_1_3_1",
"GIMP_1_3_0",
"GIMP_BEFORE_GTK_2_0",
"GIMP_1_2_0",
"GIMP_1_1_32",
"GIMP_1_1_31",
"GIMP_1_1_30",
"GIMP_1_1_29",
"GIMP_1_1_28",
"GIMP_1_1_27",
"GNOME_PRINT_0_24",
"GIMP_1_1_26",
"GIMP_1_1_25",
"GIMP_1_1_24",
"GIMP_1_1_23",
"GIMP_1_1_22",
"GIMP_1_1_21",
"GIMP_1_1_20",
"GIMP_1_1_19",
"GIMP_1_1_18",
"GIMP_1_1_17",
"GIMP_1_1_16",
"GIMP_1_1_15",
"GIMP_1_1_14",
"GIMP_1_1_13",
"GIMP_1_1_12",
"GIMP_1_1_11",
"GIMP_1_1_10",
"GIMP_19990910",
"GIMP_1_1_9",
"GIMP_1_1_8",
"GIMP_1_1_7",
"PROJECT_SUNLIGHT_ANCHOR",
"GIMP_1_1_6",
"GIMP_1_1_5",
"FOR_PANEL",
"GIMP_1_1_4",
"GIMP_1_1_3",
"GIMP_1_1_2",
"GIMP_1_1_1",
"GIMP_1_1_0",
"BEFORE_GIMAGE_IS_FLAT_REMOVAL",
"BEFORE_TILE_MADNESS",
"GIMP_1_0_0",
"GNOME_BASE",
"GIMP_0_99_29",
"GIMP_0_99_28",
"GIMP_0_99_27",
"GIMP_0_99_25",
"GIMP_0_99_24",
"BEFORE_MATTS_CRAZY_TOOL_PATCH",
"GIMP_0_99_23",
"GIMP_0_99_22",
"GIMP_0_99_21",
"GIMP_0_99_20",
"GIMP_0_99_19",
"ROSALIA_BEFORE_COMMITTING_DL_AND_GNOME_HELLO",
"GIMP_0_99_18",
"BASE_ZERO",
"GIMP_0_99_17",
"GIMP_0_99_16",
"SNAP_19971121"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48796.json"
}
}
],
"modified": "2026-10-28T02:30:31.274326281Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://www.gimp.org/",
"https://access.redhat.com/security/cve/CVE-2025-48796",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48796.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-48796",
"https://bugzilla.redhat.com/show_bug.cgi?id=2368559",
"https://gitlab.gnome.org/GNOME/gimp/-/issues/9257"
],
"provider_metadata": {
"cwe_ids": [
"CWE-121"
],
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48796.json"
}
},
"related_cves": [
{
"value": "CVE-2025-48796",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498062,
"published_at": "2025-05-27T14:04:55.4+00:00"
}