Heap-Based Buffer Over-Read Vulnerability in LibOFX 0.9.12

libofx Updated 02 Oct 2025

Summary

25/09/2017
N/A
Yes i
Medium
6.5

CVE-2017-14731: ofx_proc_file in ofx_preproc.cpp in LibOFX 0.9.12 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file, as demonstrated by an ofxdump call. Affects libofx across 2 version ranges.

< 1:0.9.11-5 < c426e22d808055a6645a83f219fff1684dd1ac79

Fixed in 1:0.9.11-5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

LibOFX is an open-source library designed for reading and writing Open Financial Exchange (OFX) files. It provides a standardized way for financial data exchange, making it easier for users to manage their financial information. The library is widely used in various applications that require integration with financial institutions. However, version 0.9.12 of LibOFX contains a vulnerability that can lead to denial of service due to improper handling of crafted files.

Vulnerability Detail

The vulnerability, identified as CVE-2017-14731, originates from the 'ofx_proc_file' function in 'ofx_preproc.cpp'. It allows remote attackers to exploit a heap-based buffer over-read, potentially causing the application to crash. This issue arises when the library processes specially crafted OFX files, leading to a denial of service. The technical implications include the possibility of application instability and service interruption, which can affect users relying on financial data processing.

How To Fix

Minimum fixed version

1:0.9.11-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libofx

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If an immediate update is not possible, consider implementing input validation to check the integrity of OFX files before processing them. This can help mitigate the risk of processing malicious files.

Conclusion

CVE-2017-14731 is a significant vulnerability in LibOFX 0.9.12 that can lead to denial of service through crafted OFX files. It is crucial to update to a patched version to ensure the stability and security of applications relying on this library. Implementing workarounds such as input validation can provide temporary relief until an update is feasible.

See every vulnerability recorded for libofx →

Share this vulnerability

FAQ

CVE-2017-14731 is a vulnerability in LibOFX 0.9.12 that allows remote attackers to cause a denial of service through a crafted OFX file.

If your application uses LibOFX 0.9.12, it may crash or become unstable when processing malicious OFX files, leading to service interruptions.

The CVSS score for CVE-2017-14731 is 6.5, indicating a medium severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you cannot update immediately, implement input validation to ensure that OFX files are checked for integrity before processing.

Related vulnerabilities

Recent vulnerabilities recorded for libofx.

How To Fix

Minimum fixed version

1:0.9.11-5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libofx

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback