Wireshark Cairo Graphics Library cairo_image_surface_get_data null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in Wireshark. The affected element is the function cairo_image_surface_get_data of the component Cairo Graphics Library. Executing a manipulation can lead to null pointer dereference.
This vulnerability is tracked as CVE-2014-5116. Moreover, an exploit is present.
Details
A vulnerability was found in Wireshark (Packet Analyzer Software) (unknown version). It has been declared as problematic. This vulnerability affects the function cairo_image_surface_get_data of the component Cairo Graphics Library. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability. CVE summarizes:
The cairo_image_surface_get_data function in Cairo 1.10.2, as used in GTK+ and Wireshark, allows context-dependent attackers to cause a denial of service (NULL pointer dereference) via a large string.
The weakness was disclosed 05/16/2014 by Osanda Malith as Bug 9761 as not defined bug report (Bugzilla). The advisory is available at bugs.wireshark.org. This vulnerability was named CVE-2014-5116 since 07/29/2014. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.
A public exploit has been developed by Osanda Malith in Python and been published immediately after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The code used by the exploit is:
payload = "A" * 50000
file = open('exploit.txt', "w")
file.write(payload)
file.close()There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (95039), Exploit-DB (33384) and OSVDB (107083†). The entry VDB-13451 is pretty similar. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
License
Website
- Product: https://www.wireshark.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Osanda Malith
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Timeline
05/16/2014 🔍05/16/2014 🔍
07/29/2014 🔍
07/29/2014 🔍
08/07/2014 🔍
07/28/2025 🔍
Sources
Product: wireshark.orgAdvisory: Bug 9761
Researcher: Osanda Malith
Status: Not defined
Confirmation: 🔍
CVE: CVE-2014-5116 (🔍)
GCVE (CVE): GCVE-0-2014-5116
GCVE (VulDB): GCVE-100-67282
X-Force: 95039 - Wireshark cairo_image_surface_get_data denial of service, Medium Risk
OSVDB: 107083
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 08/07/2014 10:01Updated: 07/28/2025 01:17
Changes: 08/07/2014 10:01 (64), 04/20/2019 13:07 (1), 07/28/2025 01:17 (16)
Complete: 🔍
Cache ID: 216:C2F:103
No comments yet. Languages: en.
Please log in to comment.