> CVE-2025-64503 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-11-12 22:15
MODIFIED
2025-11-12 22:15
CVSS_SCORE V3
4.0
EPSS (Prob. Exploit)
0.23%
Top 86.3%
DATA SOURCES:
NVD đź”— 2025-11-12 CVE PROJECT đź”— 2026-01-19 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-08 OSV đź”— 2026-11-08

> DESCRIPTION

cups-filters contains backends, filters, and other software required to get the cups printing service working on operating systems other than macos. In cups-filters prior to 1.28.18, by crafting a PDF file with a large `MediaBox` value, an attacker can cause CUPS-Filter 1.x’s `pdftoraster` tool to write beyond the bounds of an array. First, a PDF with a large `MediaBox` width value causes `header.cupsWidth` to become large. Next, the calculation of `bytesPerLine = (header.cupsBitsPerPixel * header.cupsWidth + 7) / 8` overflows, resulting in a small value. Then, `lineBuf` is allocated with the small `bytesPerLine` size. Finally, `convertLineChunked` calls `writePixel8`, which attempts to write to `lineBuf` outside of its buffer size (out of bounds write). In libcupsfilters, the maintainers found the same `bytesPerLine` multiplication without overflow check, but the provided test case does not cause an overflow there, because the values are different. Commit 50d94ca0f2fa6177613c97c59791bde568631865 contains a patch, which is incorporated into cups-filters version 1.28.18.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EXPLOITABILITY
2.5
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Local (L)
Exploit nécessite un accès local au système
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-787

> CWE DETAILED DESCRIPTIONS

CWE-787: Out-of-bounds Write - The product writes data past the end, or before the beginning, of the intended buffer.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

[BIGSLEEP-434615384] cups-filters 1.x: out of bounds write in pdftoraster

AFFECTED PACKAGES:
Unknown / Unknown
191 versions affected
ALIASES:
GHSA-893j-2wr2-wrh9

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/11/2025 22:15
Source: NVD
📊 ENRICHISSEMENT 19/01/2026 17:36
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
📊 ENRICHISSEMENT 01/12/2025 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-787: Out-of-bounds Write - The product writes data past the end, or before the beginning, of the intended buffer.
Total des modifications: 2 Dernière mise à jour: 9 months ago

> REFERENCES

https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e8...
https://github.com/OpenPrinting/cups-filters/blob/aea8d0db017e495b0204433ebdb0e8...
https://github.com/OpenPrinting/cups-filters/commit/50d94ca0f2fa6177613c97c59791...
https://github.com/OpenPrinting/cups-filters/security/advisories/GHSA-893j-2wr2-...
https://github.com/OpenPrinting/libcupsfilters/blob/1dd86d835b27ed149b66aee1a485...
http://www.openwall.com/lists/oss-security/2025/11/12/2
« BACK_TO_HOME