FileZilla 3.46.3 - 'Scale factor' Buffer Overflow
The 'Scale Factor' field accepts arbitrary text instead of only a float. Pasting a very large string can cause a buffer overflow or denial of service.
- Fixed in 11 days
- Paid in 11 days
- Disclosed after 9 months
Summary:
FileZilla in has a problem in the "Scale Factor" field is vulnerable to a Buffer Over Flow attack or a denial attack. Adding random characters in an entry that must accept only Float input type values.
Steps To Reproduce:
A python file of name generatepaste.py was generated for the generation of the chain that allows the overflow, which is the following:
buffer = "\x41" * 5000000 eip= "\x42" * 4 f = open ("generate.txt", "w") f.write(buffer+eip) f.close()
1.- Run python code : python generatepaste.py 2.- Open generate.txt and copy content to clipboard. 3.- Open FileZilla. 4.- Select the Edit menu and then Settings. 5.- Find the Interface section and select Themes. 6.- Paste Clipboard on "Scale Factor" three times. 7.- Click in the icons. 8.- BoF
Supporting Material/References:
[list any additional material (e.g. screenshots, logs, etc.)]
- [attachment / reference]
F719632
Impact
An attacker can corrupt FileZilla applications and be a preamble to a much more severe attack.
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could corrupt the FileZilla application and potentially use this as a stepping stone to a more severe attack.
What the attacker needed
FileZilla installed; local access to the settings
How it was found
- Run the Python script to generate a file containing a long string of 'A' characters followed by four 'B' characters.
- Open the generated file and copy its contents to the clipboard.
- Open FileZilla and go to Edit > Settings.
- Navigate to Interface > Themes.
- Paste the clipboard contents into the 'Scale Factor' field three times.
- Click on the icons to trigger the buffer overflow.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A buffer overflow happens when a program writes more data into a fixed-size memory space than it can hold. Here, the 'Scale Factor' box is meant for a number but accepts a huge pasted string, which can overflow memory and crash the program.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.