Description
Format string vulnerability in gedit 2.10.2 may allow attackers to cause a denial of service (application crash) via a bin file with format string specifiers in the filename. NOTE: while this issue is triggered on the command line by the gedit user, it has been reported that web browsers and email clients could be configured to provide a file name as an argument to gedit, so there is a valid attack that crosses security boundaries.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | gedit | 2.10.3-1 | — |
| Debian 13 | gedit | 2.10.3-1 | — |
| Debian 12 | gedit | 2.10.3-1 | — |
| Debian 3.1 | gedit | 2.8.3-4sarge1 | DSA-753-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | gedit +1 | 1:2.8.1-4 | RHSA-2005:499 |
| RHEL 3 | gedit | 1:2.2.2-4.rhel3 | RHSA-2005:499 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Gedit 2.x - Filename Format String EDB-25688 · local · May 30, 2005 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- RHSA-2005:499 Red Hat Security Advisory: gedit security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-753-1 gedit - format string Debian Security (DSA / DLA) · Mar 9, 2026
References
- RHSA-2005:499 vendor-advisory
- DSA-753 vendor-advisory
- USN-138-1 vendor-advisory
- oval:org.mitre.oval:def:9845 vdb-entry signature
- 20050520 pst.advisory: gedit fun. opensource is god .lol windows mailing-list
- oval:org.mitre.oval:def:1245 vdb-entry signature
- GLSA-200506-09 vendor-advisory
- SUSE-SA:2005:036 vendor-advisory