Wireshark Cairo Graphics Library cairo_image_surface_get_data null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Timelineinfo

05/16/2014 🔍
05/16/2014 +0 days 🔍
07/29/2014 +74 days 🔍
07/29/2014 +0 days 🔍
08/07/2014 +9 days 🔍
07/28/2025 +4007 days 🔍

Sourcesinfo

Product: wireshark.org

Advisory: 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: 🔍

Entryinfo

Created: 08/07/2014 10:01
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!