Every CVE Search/ Get API key

CVE-2017-6842

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote...

5.5 MediumFix available

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.04%Up 0.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Record
CVE-2017-6842
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-476
Updated
2026-11-02
CVE List No score

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Record
CVE-2017-6842
Updated
2026-11-02
EUVDEUVD-2017-15896 No score

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Record
EUVD-2017-15896
Updated
2026-11-03
GitHub AdvisoriesGHSA-377x-8q3w-wmvj 5.5

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote...

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Record
GHSA-377x-8q3w-wmvj
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-476
Updated
2026-11-02
OSV 5.5

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Record
CVE-2017-6842
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-6842 5.5

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Record
DEBIAN-CVE-2017-6842
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-6842 5.5

The ColorChanger::GetColorFromStack function in colorchanger.cpp in PoDoFo 0.9.5 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted file.

Record
UBUNTU-CVE-2017-6842
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2024:3541-1 No score

Security update for podofo

This update for podofo fixes the following issues:

  • CVE-2015-8981: Fixed heap overflow in the function ReadXRefSubsection (bsc#1023190)

  • CVE-2017-6840: Fixed invalid memory read in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027787)

  • CVE-2017-6841: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::~TGraphicsStackElement (graphicsstack.h) (bsc#1027786)

  • CVE-2017-6842: Fixed NULL pointer dereference in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027785)

  • CVE-2017-6845: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::SetNonStrokingColorSpace (graphicsstack.h) (bsc#1027779)

  • CVE-2017-6849: Fixed NULL pointer dereference in PoDoFo::PdfColorGray::~PdfColorGray (PdfColor.cpp) (bsc#1027776)

  • CVE-2017-8378: Fixed denial of service (application crash) vectors related to m_offsets.size (PdfParser::ReadObjects func in base/PdfParser.cpp) (bsc#1037000)

  • CVE-2018-5308: Fixed Undefined behavior (memcpy with NULL pointer) in PdfMemoryOutputStream::Write (src/base/PdfOutputStream.cpp) (bsc#1075772)

  • CVE-2019-10723: Fixed Memory leak in PdfPagesTreeCache class in doc/PdfPagesTreeCache.cpp (bsc#1131544)

  • CVE-2019-9199: Fixed NULL pointer dereference in function PoDoFo:Impose:PdfTranslator:setSource() in pdftranslator.cpp (bsc#1127855)

  • Fixed NULL pointer dereference in PdfInfo::GuessFormat (pdfinfo.cpp) (bsc#1023072)

Record
SUSE-SU-2024:3541-1
Updated
2026-11-02
OSVSUSE-SU-2024:3550-1 No score

Security update for podofo

This update for podofo fixes the following issues:

  • CVE-2015-8981: Fixed heap overflow in the function ReadXRefSubsection (bsc#1023190)

  • CVE-2017-6840: Fixed invalid memory read in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027787)

  • CVE-2017-6841: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::~TGraphicsStackElement (graphicsstack.h) (bsc#1027786)

  • CVE-2017-6842: Fixed NULL pointer dereference in ColorChanger::GetColorFromStack (colorchanger.cpp) (bsc#1027785)

  • CVE-2017-6845: Fixed NULL pointer dereference in GraphicsStack::TGraphicsStackElement::SetNonStrokingColorSpace (graphicsstack.h) (bsc#1027779)

  • CVE-2017-6849: Fixed NULL pointer dereference in PoDoFo::PdfColorGray::~PdfColorGray (PdfColor.cpp) (bsc#1027776)

  • CVE-2017-8378: Fixed denial of service (application crash) vectors related to m_offsets.size (PdfParser::ReadObjects func in base/PdfParser.cpp) (bsc#1037000)

  • Fixed NULL pointer dereference in PdfInfo::GuessFormat (pdfinfo.cpp) (bsc#1023072)

Record
SUSE-SU-2024:3550-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libpodofo
Debian:12
before 0.9.4-6
0.9.4-6
libpodofo
Debian:13
before 0.9.4-6
0.9.4-6
libpodofo
Debian:14
before 0.9.4-6
0.9.4-6
libpodofo
Debian:7
before 0.9.0-1.1+deb7u2, plus listed versions
0.9.0-1.10.9.0-1.1+deb7u1
0.9.0-1.1+deb7u2
podofo
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 0.9.2-3.21.1
0.9.2-3.21.1
podofo
SUSE:Linux Enterprise Workstation Extension 12 SP5
before 0.9.2-3.21.1
0.9.2-3.21.1
podofo
SUSE:Linux Enterprise Module for Package Hub 15 SP5
before 0.9.6-150300.3.15.1
0.9.6-150300.3.15.1
podofo
SUSE:Linux Enterprise Module for Package Hub 15 SP6
before 0.9.6-150300.3.15.1
0.9.6-150300.3.15.1
podofo
openSUSE:Leap 15.5
before 0.9.6-150300.3.15.1
0.9.6-150300.3.15.1
podofo
openSUSE:Leap 15.6
before 0.9.6-150300.3.15.1
0.9.6-150300.3.15.1
libpodofo
Ubuntu:Pro:14.04:LTS
before 0.9.0-1.2ubuntu0.1~esm1, plus listed versions
0.9.0-1.1ubuntu10.9.0-1.2
0.9.0-1.2ubuntu0.1~esm1
libpodofo
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.9.0-1.30.9.3-30.9.3-40.9.3-4ubuntu0.1~esm1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-6842 is a medium vulnerability (CVSS 5.5) in Podofo Project Podofo, published March 15, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 64th percentile. Fixed in libpodofo 0.9.4-6.

References

Show 29 moreShow less
MoveEnter Open