How and where can I report a possible security risk in photoshop?
Photoshop PNG Export – Technical Investigation and Feature Request
Unexpected Recovery of Visual Content from Fully Transparent Image Regions
Document type: Technical investigation / Feature request
Subject: Potential residual visual information in transparent PNG regions exported by Adobe Photoshop
Purpose: Request for technical investigation and consideration of an optional privacy-oriented PNG export feature
1. Executive Summary
This document describes a reproducible experimental observation involving Adobe Photoshop PNG export and the display of transparent image regions in legacy image viewing software.
During testing, an image was edited in Photoshop, with a specific visual element removed from the intended final composition. The resulting transparent PNG appeared correct in Photoshop and in modern image viewers.
However, when the exact same PNG file was opened in an older image viewer, ACDSee 32 v2.42, the previously removed background image content, including rasterized text, became visible again.
The text was deliberately placed outside the selected foreground object before the selection was copied to a new layer. This was done to eliminate the possibility that the text had accidentally been included in the foreground selection.
The observation raises an important technical question:
Can visual information that is no longer visible in the intended PNG composition still be represented in the exported file in a way that allows it to be displayed when transparency is ignored or interpreted differently?
The experiments described below establish a reproducible difference in visual interpretation between Photoshop/modern viewers and ACDSee 32 v2.42.
They do not, by themselves, establish the exact internal representation or storage location of the recovered information. That requires further investigation of the original PNG data and Photoshop's export implementation.
The purpose of this report is to provide Adobe engineering with a sufficiently detailed reproduction procedure, test materials, observations, and a proposed optional export safeguard.
2. Background and Motivation
PNG supports transparency through an alpha channel or equivalent transparency representation.
In normal modern image rendering, RGB values associated with fully transparent pixels are not visible because their alpha value is zero.
However, fully transparent pixels may still contain RGB values. Depending on the image processing pipeline, those values may be retained, modified, or discarded.
A viewer that does not correctly interpret transparency may display the RGB information without applying the alpha channel.
This creates a potential privacy concern in image workflows:
- A user removes an object or background from an image.
- The resulting PNG appears to contain only the intended foreground object.
- The user assumes that the removed visual content is no longer present in the exported image.
- A recipient using software that ignores or incorrectly interprets transparency may see visual information that the user believed had been removed.
This report focuses on the observed behavior and on whether Photoshop could offer an additional export safeguard for such situations.
Important distinction: The use of an obsolete or transparency-incompatible viewer is intentional in this investigation. ACDSee 32 v2.42 is not being presented as a standards-compliant PNG reference implementation. It is being used as a detector of visual information that becomes visible when transparency is not applied as expected.
The objective is not to fix ACDSee.
The objective is to investigate the information that can be exposed through this behavior.
3. Test Environment
Software
- Adobe Photoshop
- ACDSee 32 v2.42
- Windows image viewer / modern image viewing software
Test image
A photograph of a wooden trailer.
A text element reading:
"Confidential information"
was deliberately added to the background area of the photograph.
The text was rasterized by merging the text layer with the original photograph before the foreground selection was performed.
This ensures that the text was part of the photographic image data and was not an independent editable text layer.
The photograph and text were used as controlled test material.
4. Experimental Procedure and File Identification
The following filenames were used during the investigation. They are retained here to make the test material easy to identify and correlate with the individual experiments.
File 01 — 01_Original_Source.png (Not exported)
Purpose: Original source material containing both the foreground object and the background information.
The source image consists of the wooden trailer photograph with the text "Confidential information" placed in the background.
The text was merged with the photograph before selection and extraction.
This file represents the original visual information from which the transparent foreground image was created.
File 02 — Test_PNG_EXPORT.png
Purpose: Original Photoshop transparent PNG export.
Procedure:
- Open the original photograph.
- Add the text "Confidential information" to the background area.
- Merge the text layer with the photograph, rasterizing the text into the image.
- Use Photoshop's Select Subject function to select the wooden trailer.
- Verify that the text is outside the active selection.
- With the selection active, press Ctrl+J to create a new layer from the selected pixels.
- Disable the original photograph layer and other layers, leaving only the extracted foreground object visible.
- Verify that the text is not part of the extracted foreground layer.
- Right-click the extracted layer and select Quick Export as PNG.
- Save the resulting PNG.
Observed results:
- Photoshop displays the extracted trailer correctly against transparency.
- Modern image viewers display the extracted trailer correctly.
- ACDSee 32 v2.42 displays the original background image content, including the rasterized text "Confidential information", in the transparent regions.
This is the primary reproduction file.
File 03 — Test_PNG_EXPORT_2.png
Purpose: Test whether importing the exported PNG into a new Photoshop document and exporting it again changes the observed behavior.
Procedure:
- Test_PNG_EXPORT.png in Photoshop.
- Create a new Photoshop document with the same dimensions and relevant document settings:
- Width: 4668 pixels
- Height: 2967 pixels
- Resolution: 300 pixels/inch
- Color mode: RGB
- Bit depth: 8 bits/channel
- Use a white background layer in the new document.
- Drag the imported PNG layer into the new document as an independent upper layer.
- Preserve the imported PNG layer's transparency.
- Disable the white background layer before exporting, so that the resulting PNG remains transparent.
- Export the resulting composition as PNG.
Observed results:
- The resulting PNG displays correctly in Photoshop and modern viewers.
- ACDSee 32 v2.42 continues to reveal the background image content and the text.
- The exported file has the same reported file size as the original transparent export: 18,404,593 bytes.
The identical file size is noted as an observation only. It does not establish byte-for-byte identity between the two files.
This experiment demonstrates that importing the PNG into a new Photoshop document and exporting it again does not eliminate the observed behavior.
File 04 — Test_PNG_EXPORT_3.png
Purpose: Determine whether the observed behavior persists after transparency has been eliminated through compositing.
Procedure:
- Import Test_PNG_EXPORT.png into Photoshop.
- Create a white background layer beneath the transparent PNG.
- Merge the transparent image with the white background.
- Export the resulting opaque image as PNG.
Observed results:
- ACDSee displays the resulting image against the white background.
- The previously recovered "Confidential information" text is no longer visible.
- The image is now an opaque composition rather than a transparent foreground extraction.
This result is consistent with the possibility that the previous behavior depends on the presence of transparency and/or the handling of RGB information associated with transparent pixels.
It does not independently identify the exact mechanism.
5. Additional Controlled Observations
5.1 Reopening the PNG in Photoshop
The exported transparent PNG was reopened directly in Photoshop.
Photoshop displayed the foreground object correctly and did not display the background text.
This confirms that Photoshop's normal rendering of the PNG does not expose the background text.
5.2 Background color changes
The transparent PNG was also displayed in Photoshop with black and white background layers beneath it.
The hidden text did not appear against either background.
This observation indicates that simply changing the background color in Photoshop does not reproduce the behavior observed in ACDSee.
5.3 Independent file opening
The exported PNG was opened directly in ACDSee 32 v2.42.
The background content and text appeared in the transparent areas.
The observation was made using the newly exported file, not an intentionally reused original image.
5.4 Opaque compositing
When the transparent PNG was merged with an opaque white background and exported, the previously recovered text no longer appeared.
This is a particularly relevant result because it suggests that the behavior is associated with transparency handling rather than merely with the background color.
6. Summary of Experimental Results
| Experiment | Photoshop / Modern Viewer | ACDSee 32 v2.42 |
| Original transparent PNG | Correct foreground with transparency | Background content and text visible |
| PNG reopened in Photoshop | Correct foreground with transparency | Background content and text visible when same file is opened in ACDSee |
| PNG imported into a new document and re-exported | Correct foreground with transparency | Background content and text visible |
| Transparent PNG over black background in Photoshop | Correct foreground | Not applicable to Photoshop rendering |
| Transparent PNG over white background in Photoshop | Correct foreground | Not applicable to Photoshop rendering |
| PNG merged with opaque white background | Correct opaque image | Background text no longer visible |
7. What Has Been Established
The experiments establish the following observations:
- Photoshop's Select Subject operation correctly excluded the deliberately rasterized text from the foreground selection.
- Ctrl+J created a separate layer containing the selected foreground object.
- The resulting PNG appears correct in Photoshop and modern image viewers.
- ACDSee 32 v2.42 displays the previously removed background information when opening the transparent PNG.
- Importing the transparent PNG into a new Photoshop document and exporting it again does not eliminate the observed behavior.
- The reported file size of the original transparent PNG and the re-exported PNG was identical.
- Merging the transparent PNG with an opaque white background prevents the previously observed background text from appearing in the final exported image.
The experiments do not yet establish:
- Whether the recovered visual information is stored in RGB values of fully transparent pixels.
- Whether the information originates from another component of the PNG file or from a particular export behavior.
- Whether Photoshop's export pipeline retains, transforms, or reconstructs such information.
- Whether the behavior is specific to Photoshop, the original image structure, or an interaction between the image and the legacy viewer.
- Whether the original and re-exported PNG files are byte-identical.
These questions are intentionally left open for Adobe's technical investigation.
8. Questions for Adobe Engineering
I would appreciate an investigation into the following points.
PNG Export Implementation
- How does Photoshop handle RGB values associated with pixels whose alpha value is zero during PNG export?
- Does Quick Export as PNG preserve RGB information in fully transparent pixels?
- Does Photoshop perform any automatic cleanup or normalization of RGB values in fully transparent regions?
- Is there any difference between Quick Export as PNG and other PNG export workflows regarding transparent pixel data?
Image Data and Transparency
- Can the observed background content be recovered from RGB data associated with transparent pixels?
- If not, what other mechanisms could explain the observed behavior?
- Is there a recommended technical procedure for determining whether an exported PNG contains residual visual information that can become visible when transparency is ignored?
Security and Privacy
- Could this behavior expose image content that users reasonably believe has been removed?
- Is this considered an expected consequence of transparency handling, or is it a behavior that Adobe would consider worth investigating further?
- Could Photoshop provide a user-selectable export option that sanitizes fully transparent pixels?
9. Proposed Feature Request
Optional PNG Export Setting: "Sanitize Fully Transparent Pixels"
I propose an optional setting for PNG export:
Sanitize Fully Transparent Pixels
When enabled:
- Pixels with alpha = 0 would have their RGB values replaced with a neutral value, such as RGB (0, 0, 0).
- Their alpha values would remain exactly zero.
- Pixels with alpha greater than zero would retain their original RGB and alpha values.
- The image's visible appearance and transparency would remain unchanged in normal rendering.
- The operation would not affect partially transparent pixels.
The purpose would be to remove potentially recoverable visual information from fully transparent image regions without altering the visible image.
This should be an optional setting rather than a mandatory change to Photoshop's existing export behavior.
Some workflows may intentionally rely on RGB information in transparent pixels, for example for image filtering, edge processing, or other compositing operations.
A user-selectable sanitization option would allow photographers, designers, and other users to prioritize privacy when exporting images intended for external distribution.
Suggested implementation behavior
| Pixel condition | Proposed behavior when sanitization is enabled |
| Alpha = 0 | RGB set to neutral value; alpha remains 0 |
| Alpha > 0 | RGB and alpha preserved |
| Image appearance | Unchanged in normal alpha-aware rendering |
| Transparency | Preserved |
| Optionality | User-selectable |
The implementation should ideally apply to all PNG export paths, including Quick Export, or clearly document any differences.
10. Test Materials and Reproducibility
The four test files will be provided through a shared Google Drive folder.
Test materials folder:
[Google Drive link to be inserted]
The folder will contain:
- 01_Original_Source.png — original photograph with rasterized background text.
- 02_Transparent_Export.png — original transparent PNG created through Select Subject, Ctrl+J, and Quick Export as PNG.
- 03_Reimported_Export.png — transparent PNG imported into a new Photoshop document and exported again.
- 04_Flattened_White_Background.png — transparent PNG merged with an opaque white background and exported.
These files are intended to allow Adobe engineers to reproduce the workflow and independently examine the PNG data.
The original source material and the test files are provided for technical investigation.
11. Suggested Reproduction Checklist for Adobe
- Open 01_Original_Source.png.
- Confirm that the text is rasterized into the photograph.
- Select the wooden trailer using Select Subject.
- Confirm that the text is outside the selection.
- Create a new layer from the selection using Ctrl+J.
- Disable the original image layer.
- Export the foreground layer using Quick Export as PNG.
- Open 02_Transparent_Export.png in Photoshop and in a modern image viewer.
- Open the same file in ACDSee 32 v2.42.
- Compare the visual output.
- Import the transparent PNG into a new document and export it again.
- Repeat the comparison using 03_Reimported_Export.png.
- Merge the transparent PNG with an opaque white background.
- Export the flattened result and compare it with 04_Flattened_White_Background.png.
The primary observation to reproduce is the appearance of the original background content in the transparent regions when the exported PNG is opened in ACDSee 32 v2.42.
12. Conclusion
This investigation began as a simple image extraction workflow but revealed a potentially important question concerning transparency, image data retention, and the privacy expectations of users exporting PNG files.
The resulting transparent PNG appears correct in Photoshop and modern image viewers, yet visual information from the original background can be displayed by a legacy viewer that does not properly apply transparency.
The exact technical mechanism remains unresolved.
I am not requesting that Photoshop change its current PNG export behavior unconditionally. Instead, I am requesting:
- A technical investigation into the observed behavior.
- An explanation of how Photoshop handles image information in fully transparent regions.
- Consideration of an optional Sanitize Fully Transparent Pixels export feature.
- A determination of whether such a feature could provide an additional privacy safeguard without affecting normal image appearance or existing workflows.
I believe this would be a useful addition to Photoshop, particularly for users who distribute transparent PNG files and expect removed image content not to remain visually recoverable through alternative rendering methods.
Thank you for your time and consideration.
Submitted for Adobe Photoshop engineering review and feature consideration.
The mentioned files are accessible under this link:
https://drive.google.com/drive/folders/1Esc1XEHuCM9RVkU5GL9yeQNNXA5BDHED?usp=sharing
