CVE-2023-50671
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability exists in exiftags version 1.01, specifically in the nikon_prop1 function within nikon.c. The vulnerability (CVE-2023-50671) was discovered in December 2023 and affects the image metadata parsing functionality. The issue occurs because the snprintf function can write to an unexpected address, potentially leading to memory corruption (Yulun Blog, NVD).

Technical details

The vulnerability is caused by improper buffer size handling in the nikon_prop1 function where snprintf can write beyond the allocated buffer size of 21 bytes, resulting in a heap buffer overflow of 28 bytes. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The vulnerability is classified as CWE-787 (Out-of-bounds Write) (NVD).

Impact

The vulnerability can lead to heap memory corruption when processing specially crafted JPEG files containing malicious Exif metadata. This could potentially result in arbitrary code execution, information disclosure, or application crashes. The high CVSS score indicates severe potential impacts on the confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability affects exiftags version 1.01, which is the latest released version of the software. As of now, there is no official patch available for this vulnerability. Users are advised to exercise caution when processing untrusted JPEG files with exiftags until a fix is released (Product Page).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management