CVE-2013-1961
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedStack-based buffer overflow in the t2p_write_pdf_page function in tiff2pdf in libtiff before 4.0.3 allows remote attackers to cause a denial of service (application crash) via a crafted image length and resolution in a TIFF image file.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStack-based buffer overflow in libtiff's t2p_write_pdf_page function in tiff2pdf allows remote attackers to crash the application via crafted TIFF image files with malicious image length and resolution values. The vulnerability exists in libtiff versions prior to 4.0.3.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 4.0.3= 3.4= 3.5.1= 3.5.2= 3.5.3= 3.5.4= 3.5.5= 3.5.6= 3.5.7= 3.6.0= 3.6.1= 3.7.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- M
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:M/Au:N/C:C/I:C/A:C
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check libtiff library versionRun `tiffinfo -v` or `tiffinfo -version` to display the libtiff version. On Linux, also try `dpkg -l libtiff*` or `rpm -qa libtiff`. On Windows, check the file properties of the tiff DLL.Affected if The reported version is 3.4, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.5.5, 3.5.6, 3.5.7, 3.6.0, 3.6.1, 3.7.0, or any version less than 4.0.3.
-
Verify tiff2pdf binary presenceRun `which tiff2pdf` or locate the tiff2pdf executable on the system. This tool is required for the vulnerability to be exploitable.Affected if The tiff2pdf utility is installed and available on the system.
-
Confirm tiff2pdf is used in your environmentSearch process logs, application code, or system scans for any usage of tiff2pdf or tiff2pdf-related libraries. Check if any applications process untrusted TIFF files.Affected if Your applications or workflows invoke tiff2pdf to convert TIFF images to PDF format.
-
Identify applications linked to vulnerable libtiffUse `ldd $(which tiff2pdf)` to list shared library dependencies, or run `objdump -p /path/to/tiff2pdf | grep NEEDED` to see linked libraries. Check for libtiff.so references.Affected if tiff2pdf or any image processing application is linked against a vulnerable libtiff version.
You are affected if tiff2pdf is used and the libtiff library version is 3.4 through 3.7.x or any version prior to 4.0.3.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade libtiff to version 4.0.3 or later to patch the vulnerability. Validate and sanitize TIFF input files before processing, and restrict tiff2pdf processing to trusted sources.
libtiff 4.0.3 or later
- Check the current version of libtiff installed (e.g., `rpm -q libtiff`, `dpkg -l libtiff`, or `tiffinfo -version`).
- Update libtiff to version 4.0.3 or later using your system's package manager (e.g., `yum update tiff`, `apt-get install libtiff4`, `zypper in tiff`).
- If the package is not available in your distribution's repositories, obtain the source from https://gitlab.com/libtiff/libtiff/releases and compile version 4.0.3 or later.
- Rebuild or restart any services or applications that link against libtiff (e.g., ImageMagick, GraphicsMagick, GIMP) to ensure they use the updated library.
- Verify the installed version (e.g., `tiffinfo -version`) shows 4.0.3 or higher.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2013-1961 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2013-1961 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data